Skip to main content

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.

PyPI Python License: MPL-2.0

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

Part of Entirius

This module runs inside the Entirius backend service (Volkanos), next to the product and regional modules.

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entirius-django-contentdb 5.3.2
File Size Uploaded Provenance Actions
entirius_django_contentdb-5.3.2.tar.gz 245.4 kB Without provenance Details for entirius_django_contentdb-5.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entirius-django-contentdb 5.3.2
File Interpreter ABI Platform Actions
entirius_django_contentdb-5.3.2-py3-none-any.whl Python 3 none any Details for entirius_django_contentdb-5.3.2-py3-none-any.whl

Total release size: 383.6 kB

Release files / entirius_django_contentdb-5.3.2.tar.gz

Download URL entirius_django_contentdb-5.3.2.tar.gz
Size 245.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fc21b02424a631f1f5aef873c4eccb744c6342dd17045e2b88a0e52d209a52d5
BLAKE2b-256 checksum
How to use checksums
f2e4ce5226b2691e4918dec242c3316ef4ac6743b727ecf6f861fdc826c91e0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.2-py3-none-any.whl

Download URL entirius_django_contentdb-5.3.2-py3-none-any.whl
Size 138.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
775a49796d81add267a6d491566ad82e3e618e5d301389a0575f97df2b23fd7e
BLAKE2b-256 checksum
How to use checksums
546084aa834abd8718cae324c91bff42af3afb96e9a015c2ad3b891427283e9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page