fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie aplikacji django-cas-provider.
[redakcja.git]
/
project
/
settings.py
diff --git
a/project/settings.py
b/project/settings.py
index
bcf7316
..
13e0bc5
100644
(file)
--- a/
project/settings.py
+++ b/
project/settings.py
@@
-30,6
+30,9
@@
TIME_ZONE = 'Europe/Warsaw Poland'
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'pl'
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'pl'
+import locale
+locale.setlocale(locale.LC_ALL, '')
+
SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not
SITE_ID = 1
# If you set this to False, Django will make some optimizations so as not
@@
-113,6
+116,8
@@
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.admin',
'django.contrib.admindocs',
+ 'cas_provider',
+ 'cas_consumer',
'explorer',
'toolbar',
'api',
'explorer',
'toolbar',
'api',
@@
-130,6
+135,10
@@
EDITOR_DEFAULT_SETTINGS = {
],
}
],
}
+# django-cas-provider
+LOGIN_URL = '/cas/login/'
+LOGOUT_URL = '/cas/logout/'
+
# Python logging settings
import logging
# Python logging settings
import logging