Two commands, run from the server terminal:
python manage.py reset-admin
Interactively select an admin account and set a new password.
The app does not need to be stopped first (SQLite WAL handles
concurrent access safely). Existing sessions remain valid until
they expire (8 h); restart the app to invalidate them immediately.
python manage.py reset-db
Deletes clubledger.db plus any -wal/-shm sidecar files.
Requires the app to be stopped first. After restart the app
recreates a fresh database with the default admin/admin account.
Asks the user to type RESET to confirm before deleting anything.
https://claude.ai/code/session_01JuRTR5Xjx8emQsyerBgGU7