Code layout change.
[wolnelektury.git] / src / wolnelektury / settings / basic.py
1 from os import path
2 from .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 SOLR = "http://localhost:8983/solr/wl/"
25 SOLR_TEST = "http://localhost:8983/solr/wl_test/"
26
27 # Local time zone for this installation. Choices can be found here:
28 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
29 # although not all choices may be available on all operating systems.
30 # If running in a Windows environment this must be set to the same as your
31 # system time zone.
32 TIME_ZONE = 'Europe/Warsaw'
33 USE_TZ = True
34
35 SITE_ID = 1
36
37 # List of callables that know how to import templates from various sources.
38 TEMPLATE_LOADERS = [
39     'django.template.loaders.filesystem.Loader',
40     'django.template.loaders.app_directories.Loader',
41 #     'django.template.loaders.eggs.Loader',
42 ]