Django 1.8
[prawokultury.git] / prawokultury / settings.d / 20-basic.py
1 DEBUG = False
2
3 DATABASES = {
4     'default': {
5         'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
6         'NAME': path.join(PROJECT_DIR, 'dev.db'),                      # Or path to database file if using sqlite3.
7         'USER': '',                      # Not used with sqlite3.
8         'PASSWORD': '',                  # Not used with sqlite3.
9         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
10         'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
11     }
12 }
13
14 SITE_ID = 1
15
16
17 TEMPLATES = [{
18     'BACKEND': 'django.template.backends.django.DjangoTemplates',
19     'APP_DIRS': True,
20     'OPTIONS': {
21         'context_processors': (
22             "django.contrib.auth.context_processors.auth",
23             "django.template.context_processors.debug",
24             "django.template.context_processors.i18n",
25             "django.template.context_processors.media",
26             "django.template.context_processors.static",
27             "django.template.context_processors.tz",
28             "django.contrib.messages.context_processors.messages",
29             'django.template.context_processors.request',
30         ),
31     },
32 }]
33
34 ROOT_URLCONF = 'prawokultury.urls'
35
36 # Python dotted path to the WSGI application used by Django's runserver.
37 WSGI_APPLICATION = 'prawokultury.wsgi.application'
38