From f7f0525a447b645005d667355a3452d54b503043 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 6 Jan 2016 16:34:21 +0100 Subject: [PATCH] Update default settings as required in 1.8 --- pgcommitfest/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 = ( ('webmaster@postgresql.org', 'webmaster@postgresql.org'), @@ -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. -- 2.39.5