Python 2 or Python 3? What code ate you using to print the object? A simple print statement?
-James On May 4, 2015 3:20 PM, "Yann Ashuach" <[email protected]> wrote: > In tutorial number one in django documentations, i have tried and tried > again, and neither the __str__ or the __unicode__ is working! This has been > a problem for quite a while now... The file i have attached is the code i > have written. I have looked on many different sites, and haven't found any > answers. overtime i try, it just gives "Question object" back out.. > > Thank you in advanced for your help :) > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5aaa7258-513f-4df1-ad10-4b2cbf55cbb6%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5aaa7258-513f-4df1-ad10-4b2cbf55cbb6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUheHdjRjwrTBVz3_7CV2DTpqUkH8F8XT8QpWtLAogP8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

