X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/d7b22d05953c0f6380f44693d08d3cd92e40fb09..91ba7a1f11249ddf5a22fc675935d7eb71227d98:/src/cas/settings.py?ds=inline diff --git a/src/cas/settings.py b/src/cas/settings.py index 4101776..346e6f4 100644 --- a/src/cas/settings.py +++ b/src/cas/settings.py @@ -20,6 +20,8 @@ DATABASES = { } } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. @@ -37,6 +39,8 @@ SITE_ID = 1 # to load the internationalization machinery. USE_I18N = True +USE_TZ = True + # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = path.join(PROJECT_ROOT, '../../media/') @@ -90,6 +94,7 @@ INSTALLED_APPS = ( 'cas_provider', 'django_gravatar', + 'oidc_provider', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -122,6 +127,10 @@ GRAVATAR_URL_PREFIX = 'https://www.gravatar.com/' SITE_TITLE = 'Fundacja Nowoczesna Polska' + +OIDC_USERINFO = 'emails.oidc.userinfo' + + # Import localsettings file, which may override settings defined here try: from .localsettings import *