From 38d80c150c2016eb578a9430134a896c13c3f975 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 21 Jan 2008 22:41:10 +0100 Subject: [PATCH] * Move some settings from settings.py to dbsettings.py and v.v. --- settings.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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', +) -- 2.30.2