rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / wolnelektury / settings / basic.py
1 from os import path
2 from settings.paths import PROJECT_DIR
3
4 DEBUG = False
5 TEMPLATE_DEBUG = DEBUG
6 MAINTENANCE_MODE = False
7
8 ADMINS = [
9     # ('Your Name', 'your_email@domain.com'),
10 ]
11
12 MANAGERS = ADMINS
13
14 DATABASES = {
15     'default': {
16         'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
17         'NAME': path.join(PROJECT_DIR, 'dev.db'), # Or path to database file if using sqlite3.
18         'USER': '',                      # Not used with sqlite3.
19         'PASSWORD': '',                  # Not used with sqlite3.
20         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
21     }
22 }
23
24
25 # Local time zone for this installation. Choices can be found here:
26 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
27 # although not all choices may be available on all operating systems.
28 # If running in a Windows environment this must be set to the same as your
29 # system time zone.
30 TIME_ZONE = 'Europe/Warsaw'
31
32 SITE_ID = 1
33
34 # List of callables that know how to import templates from various sources.
35 TEMPLATE_LOADERS = [
36     'django.template.loaders.filesystem.Loader',
37     'django.template.loaders.app_directories.Loader',
38 #     'django.template.loaders.eggs.Loader',
39 ]