Fixing missing permissions (not in contrib.auth.models.Permission table in db)
As far as I can see the permissions should be there. I checked the South migration I used to add the Model and it seems correct: the schema migration creates the table and then calls db.send_create_signal('managed_villas', ['GuestReview'])
-- How do I fix it? The ContentType exists and seems correct, and everything else I can think of seems OK, except for the missing permissions:
i.e. Permission.all() does not included the expected permissions.
Should I fix by manually creating the permissions, or is there a better way?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home