* Move some settings from settings.py to dbsettings.py and v.v.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 21 Jan 2008 21:41:10 +0000 (22:41 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 21 Jan 2008 21:41:10 +0000 (22:41 +0100)
settings.py

index 574b39536a5f8e786d04a1e3f23ab18bed5b493c..d06d5cd4465fd90ccee135a3aceba94fafa5fd43 100644 (file)
@@ -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',
+)