From: Matthijs Kooijman Date: Mon, 21 Jan 2008 21:41:10 +0000 (+0100) Subject: * Move some settings from settings.py to dbsettings.py and v.v. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=38d80c150c2016eb578a9430134a896c13c3f975;p=matthijs%2Fprojects%2Fxerxes.git * Move some settings from settings.py to dbsettings.py and v.v. --- diff --git a/settings.py b/settings.py index 574b395..d06d5cd 100644 --- a/settings.py +++ b/settings.py @@ -11,7 +11,6 @@ ADMINS = ( MANAGERS = ADMINS -PHPBB_DATABASE_NAME = 'ee_forum' # Local time zone for this installation. Choices can be found here: # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE @@ -88,3 +87,10 @@ TEMPLATE_CONTEXT_PROCESSORS = ( ) LOGIN_URL = "/accounts/login/" + +# Allow authentication against the phpb user accounts + +AUTHENTICATION_BACKENDS = ( + 'ee.auth.PhpBBBackend', + 'django.contrib.auth.backends.ModelBackend', +)