X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e1227f49d096b4d1163d0543030c01940329c0bd..458886cbf21bca4d33ac5c44e90a5e9d71629216:/apps/catalogue/views.py?ds=inline diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 79faca7a4..d74ca7544 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -326,7 +326,7 @@ def _sqlite_word_starts_with(name, prefix): return Q(**kwargs) -if settings.DATABASE_ENGINE == 'sqlite3': +if settings.DATABASES['default']['ENGINE'] == 'django.db.backends.sqlite3': _word_starts_with = _sqlite_word_starts_with