Skip to content

Commit

Permalink
fix password asked each time for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysquid committed Oct 5, 2023
1 parent 14dc6ae commit 969a120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdmanga/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.getenv('SECRET_KEY', get_random_secret_key())
SECRET_KEY = os.getenv('SECRET_KEY', 'DEBUG')

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = bool(int(os.getenv('DEBUG', 0)))
Expand Down

0 comments on commit 969a120

Please sign in to comment.