1 # -*- coding: utf-8 -*-
2 from __future__ import absolute_import
5 PROJECT_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
9 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
10 'NAME': os.path.join(PROJECT_ROOT, 'dev.sqlite'), # Or path to database file if using sqlite3.
11 'USER': '', # Not used with sqlite3.
12 'PASSWORD': '', # Not used with sqlite3.
13 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
14 'PORT': '', # Set to empty string for default. Not used with sqlite3.
20 MAINTENANCE_MODE = False
23 (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'),
28 # Local time zone for this installation. Choices can be found here:
29 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
30 # although not all choices may be available on all operating systems.
31 # If running in a Windows environment this must be set to the same as your
33 TIME_ZONE = 'Europe/Warsaw'
35 # Language code for this installation. All choices can be found here:
36 # http://www.i18nguy.com/unicode/language-identifiers.html
41 # If you set this to False, Django will make some optimizations so as not
42 # to load the internationalization machinery.
47 # Absolute path to the directory that holds media.
48 # Example: "/home/media/media.lawrence.com/"
49 MEDIA_ROOT = PROJECT_ROOT + '/media/dynamic'
50 STATIC_ROOT = PROJECT_ROOT + '/../static/'
52 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
53 # trailing slash if there is a path component (optional in other cases).
54 # Examples: "http://media.lawrence.com", "http://example.com/media/"
55 MEDIA_URL = '/media/dynamic/'
56 STATIC_URL = '/media/static/'
58 SESSION_COOKIE_NAME = "redakcja_sessionid"
62 BROKER_URL = 'django://'
64 SHOW_APP_VERSION = False
66 CAS_USER_ATTRS_MAP = {
67 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}