redhat-beyond / JobSeeker

https://github.com/redhat-beyond/JobSeeker
MIT License
2 stars 5 forks source link

🏇 Automatically Creating an Admin User #70

Open paOmer opened 2 years ago

paOmer commented 2 years ago

When destroying the local VM and deleting the db.sqlite3 file we also delete the manually added admin user. I suggest to add a data migration to the login app that will create a superuser when running up the VM. An example on how to do so can be seen here Resume users migration.

Steps to follow: