projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25f8408
)
* Move some settings from settings.py to dbsettings.py and v.v.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 21 Jan 2008 21:41:10 +0000
(22:41 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 21 Jan 2008 21:41:10 +0000
(22:41 +0100)
settings.py
patch
|
blob
|
history
diff --git
a/settings.py
b/settings.py
index 574b39536a5f8e786d04a1e3f23ab18bed5b493c..d06d5cd4465fd90ccee135a3aceba94fafa5fd43 100644
(file)
--- 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',
+)