When I first run manage.py migrate
on a Django project, I would like the database to be initialized with some extra permissions. I have seen here that this can be done at the app level, in the apps.py files. However the permissions I would like to have are rather related to the whole project than to one of its apps.
My questions are:
- Is it OK to define project-level permissions, or are permissions meant to always be part on an app?
- If project-level permissions are fine, what would be the appropriate place to define them so that they are created at project initialization?