permissions don't get added
Hello,
I have a model, where I need to add some permissions to the Meta
class. I've added the permissions, synched the database, but the
permissions do not show up in the database. Therefore I wiped the DB
and re-synced it. Still no custom permissions in the DB. This is the
code I use:
class META:
permissions = (
('view_all_projects', 'Can view all projects'),
)
verbose_name = _("project")
verbose_name_plural = _("projects")
Does someone have any ideas?
regards, Tom
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home