#20691: Documentation for "Choosing between __str__() and __unicode__()" is
written
for Python2 specifically
-------------------------------+--------------------
Reporter: garrison | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
At https://docs.djangoproject.com/en/dev/ref/unicode/#choosing-between-
str-and-unicode it should be mentioned that {{{__str__()}}} is to be used
instead of {{{__unicode__()}}} in Python3. And a note about
[https://docs.djangoproject.com/en/dev/ref/utils/#django.utils.encoding.python_2_unicode_compatible
Python2 compatibility for using] {{{__str__()}}} should be provided.
--
Ticket URL: <https://code.djangoproject.com/ticket/20691>
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 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.a03c2d3cab21b9b712e7823e3f74e7e1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.