#10616: Meta.permission does not work with lazy translations
-----------------------------------+----------------------------------------
          Reporter:  apollo13      |         Owner:  nobody
            Status:  closed        |     Milestone:  1.1   
         Component:  Contrib apps  |       Version:  SVN   
        Resolution:  duplicate     |      Keywords:        
             Stage:  Unreviewed    |     Has_patch:  0     
        Needs_docs:  0             |   Needs_tests:  0     
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Comment (by hvdklauw):

 As a note to other people getting the "Error binding parameter 0 -
 probably unsupported type." error.

 You can't translate the permission description name in the model, it's
 inserted in the database so translations will never work that way.
 (because then the translated string would be entered in the database and
 on the fly changing of the language would mean you have to update the
 database for that user and not for others)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10616#comment:2>
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 [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