From fe2b5cabc24444924bfa9f50dc45c86c816e869c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 15 May 2022 09:11:15 +0200 Subject: [PATCH] general: remove sqlite support (#64294) --- bijoe/settings.py | 3 +-- tox.ini | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bijoe/settings.py b/bijoe/settings.py index b70efe8..5c8f690 100644 --- a/bijoe/settings.py +++ b/bijoe/settings.py @@ -87,8 +87,7 @@ WSGI_APPLICATION = 'bijoe.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'ENGINE': 'django.db.backends.postgresql_psycopg2', } } diff --git a/tox.ini b/tox.ini index e9b096c..2aa7b2b 100644 --- a/tox.ini +++ b/tox.ini @@ -36,6 +36,8 @@ deps = pyquery tabulate sentry_sdk<0.12.3 + psycopg2<2.9 + psycopg2-binary<2.9 dj22: djangorestframework>=3.7 dj22: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz commands =