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

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.3
File Size Uploaded Provenance Actions
entirius_django_contentdb-5.3.3.tar.gz 246.7 kB Without provenance Details for entirius_django_contentdb-5.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 385.0 kB

Release files / entirius_django_contentdb-5.3.3.tar.gz

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

Download URL entirius_django_contentdb-5.3.3-py3-none-any.whl
Size 138.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0011be0908a2f0da3bc4c6c8705a134b36efd88d6087646975898070786ed3d
BLAKE2b-256 checksum
How to use checksums
cf4221706749a219dec579e0aee7297b50aaf34168003ba677cec44f9e37cd39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.3

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