Opened 7 years ago

Last modified 7 years ago

#25166 closed Cleanup/optimization

Incorrect statement in custom model permission documentation — at Initial Version

Reported by: Baptiste Mispelon Owned by: nobody
Component: Documentation Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The custom permission documentation at states that after you add a custom permission to a model's Meta:

it will create default permissions for new models each time you run migrate.

This is incorrect. What actually happens is that Django will detect the changes to the model's Meta and generate the appropriate migration for it when running makemigrations.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top