projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Put the extends tag in the first line of all templates, instead of after the load...
[matthijs/projects/xerxes.git]
/
settings.py
diff --git
a/settings.py
b/settings.py
index d06d5cd4465fd90ccee135a3aceba94fafa5fd43..d6b5299bb279839b7a178499df35ef512461f5ac 100644
(file)
--- a/
settings.py
+++ b/
settings.py
@@
-22,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
@@
-38,6
+43,10
@@
MEDIA_ROOT = ''
# Example: "http://media.lawrence.com"
MEDIA_URL = ''
# Example: "http://media.lawrence.com"
MEDIA_URL = ''
+# URL prefix for static files. Will be made available by
+# ee.tools.context_processors.static
+STATIC_URL_PREFIX = '/static/'
+
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
@@
-84,9
+93,12
@@
TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
+ # Add STATIC_URL_PREFIX to the context
+ "ee.tools.context_processors.static",
)
LOGIN_URL = "/accounts/login/"
)
LOGIN_URL = "/accounts/login/"
+LOGIN_REDIRECT_URL = "/influences/"
# Allow authentication against the phpb user accounts
# Allow authentication against the phpb user accounts