Skip to main content

django-stack

The backend glue of DjangoStack. Projects created with npx @django-stack/cli init depend on it.

  • django_stack.settings.configure() sets Django's settings from environment variables: database, cache, task queue, mail, storage, security, and safe defaults for Django Headless and Django Content Studio.
  • PublishableModel: draft and published content, with preview access.
  • API defaults: a closed API with a full-access and a read-only key, and rate-limited public forms.
  • Preview tokens and signed revalidation requests to the frontend.
  • django_stack.contrib.captcha: the Cap captcha protocol, a proof of work for public forms, with CaptchaField and verify_captcha(), and a CaptchaField for Django forms with the @cap.js/widget web component. Its solver.wasm is from @cap.js/wasm and its widget from @cap.js/widget (Apache-2.0); see its NOTICE.
  • django_stack.contrib.site: for a site Django renders with templates, the preview routes, a page cache emptied when content changes, the site's Content-Security-Policy, editor-managed redirects, and the {% blocks %}, {% image %} and {% seo %} template tags.
  • /healthz and /readyz, system checks, and the management commands create_admin, seed_content, export_content, import_content and wait_for_db.
# config/settings.py
from pathlib import Path

from django_stack.settings import configure

configure(globals(), base_dir=Path(__file__).resolve().parent.parent)

License

MIT; see LICENSE.

Metadata

Release files for django-stack 0.15.0

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

Source distribution (sdist)

Source distribution for django-stack 0.15.0
File Size Uploaded Provenance Actions
django_stack-0.15.0.tar.gz 175.1 kB With provenance Details for django_stack-0.15.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-stack 0.15.0
File Interpreter ABI Platform Actions
django_stack-0.15.0-py3-none-any.whl Python 3 none any Details for django_stack-0.15.0-py3-none-any.whl

Total release size: 284.6 kB

Release files / django_stack-0.15.0.tar.gz

Download URL django_stack-0.15.0.tar.gz
Size 175.1 kB
Tags Source
SHA-256 checksum
How to use checksums
acafc64de8354c19cb94c72d6a9532b12006b42850c014e9dccbe1a1d5c7f4df
BLAKE2b-256 checksum
How to use checksums
0daae7c6df49e882b1abf00a14779bf2514dc9633a95bf75c79f5a25c7ddebf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / django_stack-0.15.0-py3-none-any.whl

Download URL django_stack-0.15.0-py3-none-any.whl
Size 109.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96a439ed8359a2af2834d049b6f73b27f0ff5897cb7f801712be606fb08b0e9f
BLAKE2b-256 checksum
How to use checksums
086517c2fe8db06a8f05d5a1f422bd6fc91a6c1a03f584ffb6e32a0bd45501bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for django-stack 0.15.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_stack-0.15.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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