entirius-django-contentdb
A Django module for page content of Entirius, the open-source modular ecommerce platform: structured JSON pages with a draft/publish workflow. It serves routes, images, channel-scoped content and blog authors over a REST API for the storefront and the CMS.
What it does
- Stores page content as structured JSON (sections and tiles) with a draft/publish lifecycle.
- Maps URL routes to published content and scopes content per sales channel and language.
- Uploads images with content-addressed deduplication, resizing and thumbnails.
- Manages blog authors and co-authors on drafts.
- Exposes a read-only public API for storefronts and an admin API for the CMS.
Installation
uv add entirius-django-contentdb
pip install entirius-django-contentdb
INSTALLED_APPS = [
...
"django_regional",
"django_utils",
"django_pim",
"django_contentdb",
]
# urls.py
urlpatterns = [
path("", include("django_contentdb.urls")),
]
Optional settings: CONTENTDB_THUMBNAIL_QUALITY, CONTENTDB_IMAGE_MAX_WIDTH, API_ADMIN_BASE_URL,
API_PUBLIC_BASE_URL; reference with defaults in
https://github.com/entirius/entirius-django-contentdb/blob/develop/AGENTS.md (section Settings).
Quick start
from django_contentdb.services.navigation_service import get_published_navigation
navigation = get_published_navigation(
content_type_slug="header",
language_iso2="en",
channel_idx="default",
)
Requirements
- Python 3.11 or newer, Django 4.0 or newer.
- PostgreSQL (published-content queries use
DISTINCT ON). - Entirius packages pulled in:
entirius-django-pim,entirius-django-regional,entirius-django-utils,entirius-py-idx-normalizator,entirius-py-image-transformations.
Documentation
- Module docs: https://github.com/entirius/entirius-django-contentdb/tree/develop/docs
- Entirius documentation: https://docs.entirius.com/
- Changelog: https://github.com/entirius/entirius-django-contentdb/blob/develop/CHANGELOG.md
Part of Entirius
This module runs inside the Entirius backend service (Volkanos), next to the product and regional modules.
- Backend service: https://github.com/entirius/entirius-service-volkanos
- Docker harness: https://github.com/entirius/entirius-zeno
- Sibling modules: https://github.com/entirius/entirius-django-pim, https://github.com/entirius/entirius-django-regional, https://github.com/entirius/entirius-django-contentdb-translator
Development
make install # sync dependencies (uv)
make check # lint + format check (ruff)
make test # test suite (pytest + pytest-django, needs PostgreSQL via DATABASE_URL)
Development and agent instructions: https://github.com/entirius/entirius-django-contentdb/blob/develop/AGENTS.md
License
Mozilla Public License 2.0 (MPL-2.0) — see https://github.com/entirius/entirius-django-contentdb/blob/develop/LICENSE.
Metadata
Release files for entirius-django-contentdb 5.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| entirius_django_contentdb-5.3.4.tar.gz | 248.1 kB | Without provenance | Details for entirius_django_contentdb-5.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| entirius_django_contentdb-5.3.4-py3-none-any.whl | Python 3 | none | any | Details for entirius_django_contentdb-5.3.4-py3-none-any.whl |
Total release size: 386.5 kB
Release files / entirius_django_contentdb-5.3.4.tar.gz
| Download URL | entirius_django_contentdb-5.3.4.tar.gz |
|---|---|
| Size | 248.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cf05d0f70bdabb60db88c9c201b08f07620041303b3fc888f1d4b23e0bbe43a
|
|
BLAKE2b-256 checksum How to use checksums |
b01810298ad78465317dac67918cf4c73c98248073929f918a231add813e072d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / entirius_django_contentdb-5.3.4-py3-none-any.whl
| Download URL | entirius_django_contentdb-5.3.4-py3-none-any.whl |
|---|---|
| Size | 138.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4453ec079f73d3af8a5436f78ee53c2dd2c2b6a69e84c7688694914ae217eaee
|
|
BLAKE2b-256 checksum How to use checksums |
84746209eb096ab04ec7a8ebc15f1f9c5f71c8532bc8379120e9b27d8ac30e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for entirius-django-contentdb 5.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.