projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Let the views in influences use RequestContext, so authentication data is properly...
[matthijs/projects/xerxes.git]
/
settings.py
diff --git
a/settings.py
b/settings.py
index 574b39536a5f8e786d04a1e3f23ab18bed5b493c..7d91bf193d1b2c1ef63d59c7910bdb1d1b5926d8 100644
(file)
--- a/
settings.py
+++ b/
settings.py
@@
-11,7
+11,6
@@
ADMINS = (
MANAGERS = 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
# 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
@@
-23,7
+22,12
@@
TIME_ZONE = 'Europe/Amsterdam'
# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
-LANGUAGE_CODE = 'en-us'
+#LANGUAGE_CODE = 'en-us'
+LANGUAGE_CODE = 'nl'
+LANGUAGES = (
+ ('en', 'English'),
+ ('nl', 'Nederlands'),
+)
SITE_ID = 1
SITE_ID = 1
@@
-88,3
+92,11
@@
TEMPLATE_CONTEXT_PROCESSORS = (
)
LOGIN_URL = "/accounts/login/"
)
LOGIN_URL = "/accounts/login/"
+LOGIN_REDIRECT_URL = "/influences/"
+
+# Allow authentication against the phpb user accounts
+
+AUTHENTICATION_BACKENDS = (
+ 'ee.auth.PhpBBBackend',
+ 'django.contrib.auth.backends.ModelBackend',
+)