1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 PROJECT_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
10 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
11 'NAME': os.path.join(PROJECT_ROOT, 'dev.sqlite'), # Or path to database file if using sqlite3.
12 'USER': '', # Not used with sqlite3.
13 'PASSWORD': '', # Not used with sqlite3.
14 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
15 'PORT': '', # Set to empty string for default. Not used with sqlite3.
22 (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'),
25 INTERNAL_IPS = ['127.0.0.1']
29 # Local time zone for this installation. Choices can be found here:
30 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
31 # although not all choices may be available on all operating systems.
32 # If running in a Windows environment this must be set to the same as your
34 TIME_ZONE = 'Europe/Warsaw'
36 # Language code for this installation. All choices can be found here:
37 # http://www.i18nguy.com/unicode/language-identifiers.html
42 # If you set this to False, Django will make some optimizations so as not
43 # to load the internationalization machinery.
48 # Absolute path to the directory that holds media.
49 # Example: "/home/media/media.lawrence.com/"
50 MEDIA_ROOT = PROJECT_ROOT + '/media/dynamic'
51 STATIC_ROOT = PROJECT_ROOT + '/../static/'
53 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
54 # trailing slash if there is a path component (optional in other cases).
55 # Examples: "http://media.lawrence.com", "http://example.com/media/"
56 MEDIA_URL = '/media/dynamic/'
57 STATIC_URL = '/media/static/'
59 SESSION_COOKIE_NAME = "redakcja_sessionid"
63 BROKER_URL = 'django://'
65 SHOW_APP_VERSION = False
67 CAS_APPLY_ATTRIBUTES_TO_USER = True
68 CAS_RENAME_ATTRIBUTES = {
69 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}
72 LITERARY_DIRECTOR_USERNAME = ''
74 LEGIMI_USERNAME = None
75 LEGIMI_PASSWORD = None
76 LEGIMI_PUBLISHER_ID = None