summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2016-01-06 15:34:21 +0000
committerMagnus Hagander2016-01-06 15:34:21 +0000
commitf7f0525a447b645005d667355a3452d54b503043 (patch)
treeee7689dc6109484d406b185fb5dd6f8cc2317dc9
parent4fffd23d6d1b2a53ac982f47b4361b5ecc6d1811 (diff)
Update default settings as required in 1.8
-rw-r--r--pgcommitfest/settings.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pgcommitfest/settings.py b/pgcommitfest/settings.py
index d1af235..f3ceaa2 100644
--- a/pgcommitfest/settings.py
+++ b/pgcommitfest/settings.py
@@ -3,6 +3,7 @@ from django.conf import global_settings
DEBUG = False
TEMPLATE_DEBUG = DEBUG
+ALLOWED_HOSTS = ['*']
ADMINS = (
@@ -131,6 +132,11 @@ INSTALLED_APPS = (
'pgcommitfest.userprofile',
)
+AUTHENTICATION_BACKENDS = (
+ 'pgcommitfest.auth.AuthBackend',
+)
+
+
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error.