On Sun, Mar 30, 2008 at 8:06 AM, Carl <[EMAIL PROTECTED]> wrote:
>  The only problem is, that those automatically created permissions have
>  english descriptions and I'm building something for a german-only
>  speaking user base. But i think i'll just change the descriptions
>  manually in the database. That's just a few lines of SQL at the end...

When you do that, the value you want to change is the "name" column,
which can be any value you'd like; the automatic bits, and the admin
interface and other built-in things which check for the default
permissions, won't look at that; they care about the unique
combination of the "codename" column (which must, for these purposes,
be of the form "(add|change|delete)_modelname") and the foreign key to
ContentType. So long as those are left alone, you can change "name" to
anything you want.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to