From: Magnus Hagander Date: Wed, 6 Jan 2016 15:34:21 +0000 (+0100) Subject: Update default settings as required in 1.8 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f7f0525a447b645005d667355a3452d54b503043;p=pgcommitfest2.git Update default settings as required in 1.8 --- 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.