X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1986ab5301eff65a3071430ce52158f9104285d0..81f5e7445d649ead05b4d3d0a15b742444cd8b06:/src/redakcja/settings/test.py diff --git a/src/redakcja/settings/test.py b/src/redakcja/settings/test.py index 4a80142f..dba64b6b 100644 --- a/src/redakcja/settings/test.py +++ b/src/redakcja/settings/test.py @@ -26,3 +26,16 @@ SECRET_KEY = "not-so-secret" LITERARY_DIRECTOR_USERNAME = 'Kaowiec' + +MIN_COVER_SIZE = (1, 1) + + +class DisableMigrations(object): + + def __contains__(self, item): + return True + + def __getitem__(self, item): + return None + +MIGRATION_MODULES = DisableMigrations()