diff --git a/test/settings.py b/test/settings.py
index 225f265277cb055861640557b8c6992e3ee8ca79..d6f0429ddc29bffad9f2a5b59aa91de9b6850b1a 100644
--- a/test/settings.py
+++ b/test/settings.py
@@ -2,6 +2,14 @@
 
 from sage_validation.settings import *  # noqa: F403
 
-DATABASES = {
-    "default": DATABASES["default"],  # noqa: F405
-}
+if os.getenv("USE_SQLITE", "false").lower() == "true":  # noqa: F405
+    DATABASES = {
+        "default": {
+            "ENGINE": "django.db.backends.sqlite3",
+            "NAME": "sage_validation",
+        }
+    }
+else:
+    DATABASES = {
+        "default": DATABASES["default"],
+    }
diff --git a/tox.ini b/tox.ini
index 9380288f26e73d609400dbc834530157acacb636..1db7951f22971976c85cee2b4ecf9259839e4724 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,6 +6,10 @@ deps =
     mypy
     ruff
     -r requirements.txt
+
+setenv =
+    USE_SQLITE = true
+
 commands =
     ruff check .
     mypy .