BE: Create documentation snippet for resetting password
Bash or python script to reset django entry for admin password
#4 Updated by Noah Watkins almost 8 years ago
- Status changed from 12 to Need More Info
I thought this would be more involved, but Django already has a feature for this. The following command (run from the virtual environment) will prompt the user to change the password:
python manage.py changepassword <user>
where `<user>` is the username (e.g. `admin`).
I would propose that we add a wrapper script around this command that we can install somewhere in the default path, like /usr/bin. This mainly simplifies documentation. Alternatively, we could just document how to run the command.