#19286: Development version is up to (1, 6, 0, 'alpha', 0) and 1.6 is intended 
to
support python 3, so the tutorial should mention differences when using
python 3
--------------------------------+--------------------
     Reporter:  colinnkeenan@…  |      Owner:  nobody
         Type:  Uncategorized   |     Status:  new
    Component:  Documentation   |    Version:  master
     Severity:  Normal          |   Keywords:
 Triage Stage:  Unreviewed      |  Has patch:  0
Easy pickings:  0               |      UI/UX:  0
--------------------------------+--------------------
 My installation of Django shows django.VERSION as (1, 6, 0, 'alpha', 0).
 I'm doing everything with the python3 command in Ubuntu 12.10 instead of
 python, so in other words, I'm using python-3.2

 In going through the polls tutorial, the `__unicode__()` method wasn't
 working. I eventually realized (by asking on stackoverflow.com) that when
 using python 3, there isn't any `__unicode__` method since the `__str__`
 method now supports unicode by default.

 The development version of the tutorial should be updated to mention that
 with python 3, you would just use `__str__` as usual and that
 `__unicode__` is not necessary and in fact won't even work.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19286>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to