django-drf-boilerplate
django-drf-boilerplate copied to clipboard
Add a migration to create a superuser on app creation
We have a few issues when setting up the infrastructure without having SSH access to a server and then not being able to create a superuser.
The suggestion would be to add a migration that creates a superuser with a dummy password and then we manually change it on Django Admin after deploy.
Good opportunity for those who never created a data migration 😉