On Wed, 2006-05-03 at 15:43 -0700, Sean Perry wrote:
> Following the new tutorial this morning I ran into a few problems:
> * tutorial and other docs go back and forth between Poll and Blog apps.
It's a rewrite in progress.
> Choosing one would be nice.
>
> * __str__ vs __repr__
> The tutorial
Following the new tutorial this morning I ran into a few problems:
* tutorial and other docs go back and forth between Poll and Blog apps.
Choosing one would be nice.
* __str__ vs __repr__
The tutorial01 says defining __str__ will then cause Model.objects.all()
to show a human readable string,
2 matches
Mail list logo