mirror of
https://github.com/lemeow125/Django-NotesApp.git
synced 2025-05-16 11:38:11 +08:00
Added logic to support public notes
This commit is contained in:
parent
53dc50c55a
commit
390040d460
7 changed files with 32 additions and 6 deletions
|
@ -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', 'keannu126.pythonanywhere.com']
|
||||
ALLOWED_HOSTS = ['lemeow125.github.io',
|
||||
'keannu126.pythonanywhere.com', '127.0.0.1', 'localhost']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue