diff --git a/quickbooks_desktop_api/settings.py b/quickbooks_desktop_api/settings.py index 000c721..f65296f 100644 --- a/quickbooks_desktop_api/settings.py +++ b/quickbooks_desktop_api/settings.py @@ -208,15 +208,11 @@ # Database # https://docs.djangoproject.com/en/4.1/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',