1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from redakcja.settings import *
10 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
11 'NAME': '', # Or path to database file if using sqlite3.
12 'USER': '', # Not used with sqlite3.
13 'PASSWORD': '', # Not used with sqlite3.
14 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
15 'PORT': '', # Set to empty string for default. Not used with sqlite3.
19 CATALOGUE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo')
20 CATALOGUE_IMAGE_REPO_PATH = tempfile.mkdtemp(prefix='redakcja-repo-img')
21 MEDIA_ROOT = tempfile.mkdtemp(prefix='media-root')
23 INSTALLED_APPS += ('dvcs.tests',)
25 SECRET_KEY = "not-so-secret"
28 LITERARY_DIRECTOR_USERNAME = 'Kaowiec'
30 MIN_COVER_SIZE = (1, 1)
33 class DisableMigrations(object):
35 def __contains__(self, item):
38 def __getitem__(self, item):
41 MIGRATION_MODULES = DisableMigrations()