I was following tutorials of django book, where python 2.7 version is used.

I am using python 3.2 version and django 1.5. 

The django book chapter 5 'Adding Model String Represenations' needs to be 
changed while publishing book for python 3.x version.

The 'def__unicode__(self)' does not work if Python3.x version is used.

When I implemented the same code with  'def __str__(self):', the model 
string got retrieved.

If the change is done, please discard my thread.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to