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'),
26 INTERNAL_IPS = ['127.0.0.1']
30 # Local time zone for this installation. Choices can be found here:
31 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
32 # although not all choices may be available on all operating systems.
33 # If running in a Windows environment this must be set to the same as your
35 TIME_ZONE = 'Europe/Warsaw'
37 # Language code for this installation. All choices can be found here:
38 # http://www.i18nguy.com/unicode/language-identifiers.html
43 # If you set this to False, Django will make some optimizations so as not
44 # to load the internationalization machinery.
49 # Absolute path to the directory that holds media.
50 # Example: "/home/media/media.lawrence.com/"
51 MEDIA_ROOT = PROJECT_ROOT + '/media/dynamic'
52 STATIC_ROOT = PROJECT_ROOT + '/../static/'
54 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
55 # trailing slash if there is a path component (optional in other cases).
56 # Examples: "http://media.lawrence.com", "http://example.com/media/"
57 MEDIA_URL = '/media/dynamic/'
58 STATIC_URL = '/media/static/'
60 SESSION_COOKIE_NAME = "redakcja_sessionid"
64 BROKER_URL = 'django://'
66 SHOW_APP_VERSION = False
68 CAS_USER_ATTRS_MAP = {
69 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}