Self hosted FLOSS fitness/workout, nutrition and weight tracker
The ALLOWED_HOSTS setting must be a list or a tuple
Roland Geider2cbf324180c0
diff --git a/extras/docker/development/settings.py b/extras/docker/development/settings.pyindex d5c3feb51..4943c9b91 100644--- a/extras/docker/development/settings.py+++ b/extras/docker/development/settings.py@@ -68,7 +68,7 @@ STATIC_URL = env.str('STATIC_URL', '/static/')LOGIN_REDIRECT_URL = env.str('LOGIN_REDIRECT_URL', '/')# Allow all hosts to access the application. Change if used in production.-ALLOWED_HOSTS = '*'+ALLOWED_HOSTS = ['*', ]SESSION_ENGINE = "django.contrib.sessions.backends.cache"diff --git a/wger/settings.tpl b/wger/settings.tplindex 195e34b1f..cd59f59d8 100644--- a/wger/settings.tpl+++ b/wger/settings.tpl@@ -49,7 +49,7 @@ MEDIA_ROOT = '{media_folder_path}'MEDIA_URL = '/media/'# Allow all hosts to access the application. Change if used in production.-ALLOWED_HOSTS = '*'+ALLOWED_HOSTS = ['*', ]# This might be a good idea if you setup redis#SESSION_ENGINE = "django.contrib.sessions.backends.cache"