old_contents: # -*- coding: utf-8 -*-
  # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
  # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
  #
  from os import path
  from .paths import PROJECT_DIR
  
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG
  MAINTENANCE_MODE = False
  
  ADMINS = [
      # ('Your Name', 'your_email@domain.com'),
  ]
  
  MANAGERS = ADMINS
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',  # 'postgresql_psycopg2'
          'NAME': path.join(PROJECT_DIR, 'dev.db'),
          'USER': '',                      # Not used with sqlite3.
          'PASSWORD': '',                  # Not used with sqlite3.
          'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
      }
  }
  
  SOLR = "http://localhost:8983/solr/wl/"
  SOLR_TEST = "http://localhost:8983/solr/wl_test/"
  
  # Local time zone for this installation. Choices can be found here:
  # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
  # although not all choices may be available on all operating systems.
  # If running in a Windows environment this must be set to the same as your
  # system time zone.
  TIME_ZONE = 'Europe/Warsaw'
  USE_TZ = True
  
  SITE_ID = 1
  
  TEMPLATES = [{
      'BACKEND': 'django.template.backends.django.DjangoTemplates',
      'OPTIONS': {
          'loaders': (
              ('django.template.loaders.cached.Loader', (
                  'django.template.loaders.filesystem.Loader',
                  'django.template.loaders.app_directories.Loader',
              )),
          ),
          'context_processors': (
              'django.contrib.auth.context_processors.auth',
              'django.core.context_processors.debug',
              'django.core.context_processors.i18n',
              'django.core.context_processors.media',
              'django.core.context_processors.request',
              'wolnelektury.context_processors.extra_settings',
              'search.context_processors.search_form',
          ),
      },
  }]
  
new_contents: # -*- coding: utf-8 -*-
  # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
  # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
  #
  from os import path
  from .paths import PROJECT_DIR
  
  DEBUG = False
  MAINTENANCE_MODE = False
  
  ADMINS = [
      # ('Your Name', 'your_email@domain.com'),
  ]
  
  MANAGERS = ADMINS
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',  # 'postgresql_psycopg2'
          'NAME': path.join(PROJECT_DIR, 'dev.db'),
          'USER': '',                      # Not used with sqlite3.
          'PASSWORD': '',                  # Not used with sqlite3.
          'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
      }
  }
  
  SOLR = "http://localhost:8983/solr/wl/"
  SOLR_TEST = "http://localhost:8983/solr/wl_test/"
  
  # Local time zone for this installation. Choices can be found here:
  # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
  # although not all choices may be available on all operating systems.
  # If running in a Windows environment this must be set to the same as your
  # system time zone.
  TIME_ZONE = 'Europe/Warsaw'
  USE_TZ = True
  
  SITE_ID = 1
  
  TEMPLATES = [{
      'BACKEND': 'django.template.backends.django.DjangoTemplates',
      'OPTIONS': {
          'loaders': (
              ('django.template.loaders.cached.Loader', (
                  'django.template.loaders.filesystem.Loader',
                  'django.template.loaders.app_directories.Loader',
              )),
          ),
          'context_processors': (
              'django.contrib.auth.context_processors.auth',
              'django.core.context_processors.debug',
              'django.core.context_processors.i18n',
              'django.core.context_processors.media',
              'django.core.context_processors.request',
              'wolnelektury.context_processors.extra_settings',
              'search.context_processors.search_form',
          ),
      },
  }]
  
subject: remove deprecated TEMPLATE_DEBUG setting