#4871: def __str__(self):
-----------------------+----------------------------------------------------
   Reporter:  Rob B    |                Owner:  jacob        
     Status:  new      |            Component:  Documentation
    Version:  SVN      |           Resolution:               
   Keywords:  unicode  |                Stage:  Unreviewed   
  Has_patch:  0        |           Needs_docs:  0            
Needs_tests:  0        |   Needs_better_patch:  0            
-----------------------+----------------------------------------------------
Changes (by mtredinnick):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Old description:

> def __unicode__(self):
>         return self.x
> 
> I think this needs to be updated to
> 
>     def __str__(self):
>         return self.x

New description:

 {{{
 #!python
     def __unicode__(self):
         return self.x
 }}}
 I think this needs to be updated to
 {{{
 #!python
     def __str__(self):
         return self.x
 }}}

Comment:

 Where does this need to be updated? Are you sure you are referring to the
 documentation for the version you are using (noting that Unicode support
 is only in recent subversion, not, for example, 0.96)?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4871#comment:1>
Django Code <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to