diff --git a/admin_settings/settings.py b/admin_settings/settings.py index c1d2194..7b66a61 100644 --- a/admin_settings/settings.py +++ b/admin_settings/settings.py @@ -192,15 +192,11 @@ # Database # https://docs.djangoproject.com/en/3.0/ref/settings/#databases -# Defaulting django engine for qcluster -if len(sys.argv) > 0 and sys.argv[1] == 'qcluster': - DATABASES = { - 'default': dj_database_url.config() - } -else: - DATABASES = { - 'default': dj_database_url.config(engine='django_db_geventpool.backends.postgresql_psycopg2') - } +DATABASES = { + 'default': dj_database_url.config() +} + +DATABASES['default']['DISABLE_SERVER_SIDE_CURSORS'] = True DATABASES['cache_db'] = { 'ENGINE': 'django.db.backends.sqlite3',