summaryrefslogtreecommitdiffstats
path: root/localsettingsdocker.py
diff options
context:
space:
mode:
Diffstat (limited to 'localsettingsdocker.py')
-rw-r--r--localsettingsdocker.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/localsettingsdocker.py b/localsettingsdocker.py
index bc7d8cb..6a325d1 100644
--- a/localsettingsdocker.py
+++ b/localsettingsdocker.py
@@ -2,7 +2,7 @@ import sys
# This is the local settings for use with the docker compose dev setup. It is imported automatically
DATABASES = {
- 'default': {
+ 'default': {
'ENGINE': 'django.db.backends.mysql', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME' : 'troggle', # Or path to database file if using sqlite3.
'USER' : 'troggleuser', # Not used with sqlite3.
@@ -12,6 +12,8 @@ DATABASES = {
}
}
+ALLOWED_HOSTS = ['*']
+
EXPOUSER = 'expo'
EXPOUSERPASS = 'somepasshere'
EXPOUSER_EMAIL = 'wookey@wookware.org'
@@ -55,11 +57,4 @@ JSLIB_URL = URL_ROOT + 'javascript/'
TINY_MCE_MEDIA_ROOT = STATIC_ROOT + '/tiny_mce/'
TINY_MCE_MEDIA_URL = STATIC_ROOT + '/tiny_mce/'
-TEMPLATE_DIRS = (
- PYTHON_PATH + "templates",
- # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
- # Always use forward slashes, even on Windows.
- # Don't forget to use absolute paths, not relative paths.
-)
-
LOGFILE = PYTHON_PATH + 'troggle_log.txt'