So, I've taken a different approach, following Markus' idea, and added "app_label" to Permission.

I probably still need to add a check to ensure you don't set app_label _and_ content_type, but that can wait for now.

You can now define new app-level permissions on the app's AppConfig.permissions [optional].

I've also implemented a "create_app_permissions" function which will ... do just that. Call it whenever you like :)

Basic tests are working, as well as added ones.

No documentation or changelog as yet...


You received this message because you are subscribed to the Google Groups "Django 
developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to