Polished code

This commit is contained in:
Keannu Christian Bernasol 2023-03-29 14:09:24 +08:00
parent fa684fb195
commit 4f9d2eab6d
5 changed files with 15 additions and 21 deletions

View file

@ -26,9 +26,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu125.pythonanywhere.com']
ALLOWED_HOSTS = ['lemeow125.github.io',
'keannu125.pythonanywhere.com', '127.0.0.1']
# Application definition