django-drf-boilerplate icon indicating copy to clipboard operation
django-drf-boilerplate copied to clipboard

Add a migration to create a superuser on app creation

Open smaniotto opened this issue 5 years ago • 0 comments

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 😉

smaniotto avatar Jan 07 '20 13:01 smaniotto