Update default settings as required in 1.8
authorMagnus Hagander <magnus@hagander.net>
Wed, 6 Jan 2016 15:34:21 +0000 (16:34 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 6 Jan 2016 15:34:21 +0000 (16:34 +0100)
pgcommitfest/settings.py

index d1af2359a4710b282d3ea10a66e888230a125771..f3ceaa2e9243def1177c886ae6f48f0991b2aaa6 100644 (file)
@@ -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.