3.5. maintenance_script module¶
Maintenance script for managing users, resetting passwords and generating password hashes.
Run ‘./maintenance_script.py’ to see the help message.
- maintenance_script.create_user(db_session: Session, username: str, email: str, password: str)[source]¶
Create a new user with the given username, email and password.
- maintenance_script.delete_user(db_session: Session, username: str)[source]¶
Delete the user with the given username.