I'd like to take another try at this.

My proposal is to temporarily supports two formats: the new 
`app_label.model_name.codename` (ref #25281) and the old `app.codename`. 
The old format will raise a PendingDeprecationWarning. Docs, code and tests 
will be updated to use the new format.

I believe that by having `app_label.model_name`. we can identify the 
`.content_type`. That, together with `.codename`, should be enough to 
uniquely identify the `Permission` instance.

There will be no model changes. Just checks and new code for all the 
methods that accepts the 'string api' for permissions.

Thanks,
–Flavio.

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/fb1b7c22-d436-4fa0-9f05-30f151a48da0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to