forked from Ninjaclasher/dmoj-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Local settings to allow registration
Signed-off-by: Jason Cameron <[email protected]>
- Loading branch information
1 parent
5a32003
commit 33315f3
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
||
|
@@ -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' | ||
|
||
|
@@ -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: | ||
|