Merge branch 'reflow'
[wolnelektury.git] / src / wolnelektury / settings / basic.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from os import path
6 from .paths import PROJECT_DIR
7
8 DEBUG = False
9 TEMPLATE_DEBUG = DEBUG
10 MAINTENANCE_MODE = False
11
12 ADMINS = [
13     # ('Your Name', 'your_email@domain.com'),
14 ]
15
16 MANAGERS = ADMINS
17
18 DATABASES = {
19     'default': {
20         'ENGINE': 'django.db.backends.sqlite3',  # 'postgresql_psycopg2'
21         'NAME': path.join(PROJECT_DIR, 'dev.db'),
22         'USER': '',                      # Not used with sqlite3.
23         'PASSWORD': '',                  # Not used with sqlite3.
24         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
25     }
26 }
27
28 SOLR = "http://localhost:8983/solr/wl/"
29 SOLR_TEST = "http://localhost:8983/solr/wl_test/"
30
31 # Local time zone for this installation. Choices can be found here:
32 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
33 # although not all choices may be available on all operating systems.
34 # If running in a Windows environment this must be set to the same as your
35 # system time zone.
36 TIME_ZONE = 'Europe/Warsaw'
37 USE_TZ = True
38
39 SITE_ID = 1
40
41 # List of callables that know how to import templates from various sources.
42 TEMPLATE_LOADERS = [
43     'django.template.loaders.filesystem.Loader',
44     'django.template.loaders.app_directories.Loader',
45     # 'django.template.loaders.eggs.Loader',
46 ]