X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/a6bc469288a27a94f4c062a33701b7a57746dbb7..35548a2c9ae7efae920ec7c90addad272b5520c3:/src/cas/settings.py diff --git a/src/cas/settings.py b/src/cas/settings.py index a4c4137..f003ca4 100644 --- a/src/cas/settings.py +++ b/src/cas/settings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- from os import path PROJECT_ROOT = path.realpath(path.dirname(__file__)) @@ -26,7 +25,7 @@ DATABASES = { # although not all choices may be available on all operating systems. # If running in a Windows environment this must be set to the same as your # system time zone. -TIME_ZONE = None +TIME_ZONE = 'UTC' # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html @@ -84,6 +83,13 @@ LOCALE_PATHS = ( ) INSTALLED_APPS = ( + 'accounts.apps.AccountsConfig', + 'services.apps.ServicesConfig', + 'ssh_keys.apps.SshKeysConfig', + + 'cas_provider', + 'django_gravatar', + 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', @@ -91,19 +97,13 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.staticfiles', - - 'cas_provider', - 'django_gravatar', - - 'accounts', ) -MIDDLEWARE_CLASSES = ( +MIDDLEWARE = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ) @@ -118,6 +118,8 @@ SESSION_COOKIE_NAME = 'fnpcas' GRAVATAR_DEFAULT_IMAGE = 'mm' GRAVATAR_URL_PREFIX = 'https://www.gravatar.com/' +SITE_TITLE = 'Fundacja Nowoczesna Polska' + # Import localsettings file, which may override settings defined here try: from .localsettings import *