Skip to content

Commit

Permalink
Revert "Update settings.py"
Browse files Browse the repository at this point in the history
This reverts commit 9b163b7.
  • Loading branch information
Animesh-Ghosh committed Jul 30, 2019
1 parent 9b163b7 commit 5c39c39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tutorialdb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

DEBUG = True

ALLOWED_HOSTS = ['127.0.0.1'] + list(os.environ['ALLOWED_HOSTS'])
ALLOWED_HOSTS = ['127.0.0.1','192.168.42.2','tutorialdb.pythonanywhere.com']


# Application definition

Expand Down Expand Up @@ -69,6 +70,7 @@

WSGI_APPLICATION = 'tutorialdb.wsgi.application'


# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases

Expand All @@ -79,6 +81,7 @@
}
}


# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators

Expand All @@ -97,6 +100,7 @@
},
]


# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/

Expand All @@ -110,5 +114,6 @@

USE_TZ = True


STATIC_URL = '/static/'
STATICFILES_DIRS = ( os.path.join('static'), )

0 comments on commit 5c39c39

Please sign in to comment.