#5373: Field label for a ForeignKey not translated
------------------------------------------------------------------------+---
          Reporter:  Szilveszter Farkas <szilveszter.far...@gmail.com>  |       
  Owner:  garcia_marc                
            Status:  new                                                |     
Milestone:                             
         Component:  Internationalization                               |       
Version:  SVN                        
        Resolution:                                                     |      
Keywords:  i18n foreignkey field label
             Stage:  Accepted                                           |     
Has_patch:  1                          
        Needs_docs:  0                                                  |   
Needs_tests:  0                          
Needs_better_patch:  0                                                  |  
------------------------------------------------------------------------+---
Comment (by datakid):

 After some testing last night, my diff fails because it's calling
 django.db.models.fields.related to early in the initialization. The
 solutions available therefore are:

  * Move the import statement lower as per 5373.2.patch - this seems wrong
 - goes against style?
  * Change the relevant line of the patch to something like this (seems
 clunky...):

 {{{
     if not isinstance(self, django.db.models.related.RelatedField):
 }}}


  * Come up with new solution.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5373#comment:8>
Django <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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to