X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/935076367b73bf9506751fe215cacc09c3d6e417..090fa209bd92925fbd407b8c3e7c996f5762fd3f:/project/settings.py?ds=inline diff --git a/project/settings.py b/project/settings.py index bcf73167..13e0bc59 100644 --- 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' +import locale +locale.setlocale(locale.LC_ALL, '') + 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', + 'cas_provider', + 'cas_consumer', '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