I have inherited a django project which uses Wagtail for CMS. When I go to (project_url)/cms/ I am asked for a username and password, which I do not have.
Is there any way to create a default user account in the settings.py file, or reset the existing account so that I can gain access to the CMS section?
You can run the changepassword command (django-admin changepassword your_username, for example) to change a password for the existing your_username user.
Alternatively you can create a new superuser using the createsuperuser command by running django-admin createsuperuser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With