I\'m doing some kind of refactoring for my project, where I\'m relying on the django django.contrib.auth.models.Permission model. So far I define the permission
Signal post_migrate is different from other signals.
'./manage.py' command will not execute the code from the apps.py files or the signals.py files
To execute this signal, place it in the models.py file.
Then you will get the desired result