Skip to content

Commit

Permalink
Update Local settings to allow registration
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Sep 26, 2024
1 parent 5a32003 commit 33315f3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions local_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
SECRET_KEY = os.environ.get('SECRET_KEY', '')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG', '0') == '1'
HOST = os.environ.get('HOST', '')
HOST = os.environ.get('HOST', 'mcpt.ca')

# Uncomment and set to the domain names this site is intended to serve.
# You must do this once you set DEBUG to False.
ALLOWED_HOSTS = [HOST]

Expand Down Expand Up @@ -356,7 +355,7 @@

MOSS_API_KEY = os.environ.get('MOSS_API_KEY', None)

REGISTRATION_OPEN = False
REGISTRATION_OPEN = True # Allow users to register
DMOJ_RATING_COLORS = True
X_FRAME_OPTIONS = 'DENY'

Expand All @@ -371,8 +370,8 @@
MEDIA_URL = '/media/'

DMOJ_ICS_REPORT_PERIODS = {
1: {"name": "Mr. Guglielmi", "email": "[email protected]"},
2: {"name": "Mrs. Krasteva", "email": "[email protected]"},
1: {"name": "Mr. Guglielmi", "email": "[email protected]"},
2: {"name": "Mrs. Krasteva", "email": "[email protected]"},
}

if DEBUG:
Expand Down

0 comments on commit 33315f3

Please sign in to comment.