SQLite database engine for Django that makes every table a STRICT table.
Project description
django-sqlite-strict
Usage
django-sqlite-strict is a drop-in replacement for Django's stock SQLite engine.
Prerequisites
- A Django webapp using:
- Django >= 4.2
- SQLite >= 3.37.0
Install
- Add as a dependency with
uv add django-sqlite-strict - In
settings.py, add toINSTALLED_APPSafter any first-party apps and beforedjango.contribpackages. - In
settings.py, configure DATABASES to use it as the engine:
DATABASES = {
"default": {
"ENGINE": "django_sqlite_strict",
"NAME": BASE_DIR / "db.sqlite3",
}
}
Develop
Run tests
# run latest supported python/django pairing eg. 3.14/6.0
uvx nox
# run all test sessions
uvx nox -s test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_sqlite_strict-0.1.0.tar.gz.
File metadata
- Download URL: django_sqlite_strict-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe7527f83dc6aae004b17d7ec4b5e40b2e55f9987a35c1c7e6dcc16265ecc67
|
|
| MD5 |
81c6266dbe525859466a2cdce055a8d0
|
|
| BLAKE2b-256 |
f611515f48981d062047ddb6461252d032c71f14eb2c8a34fef0631004f66c9a
|
File details
Details for the file django_sqlite_strict-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_sqlite_strict-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ed48b62562246948883a926b03a212c78d2395738b1047d445863183fe00ab
|
|
| MD5 |
8c4dd082f0b9580ace3865ac60451c63
|
|
| BLAKE2b-256 |
93416da68c5e834d8cb4696d1afe4318ec893805ad866c71eb130a4e3f763201
|