Metadata-Version: 2.4
Name: capsize-django
Version: 0.1.0
Summary: Shared Django building blocks for the Capsize static-site family.
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: Django>=5.1
Requires-Dist: capsize-commons
Provides-Extra: content
Requires-Dist: django-distill<5,>=4.0; extra == "content"
Requires-Dist: markdown>=3.7; extra == "content"
Requires-Dist: pymdown-extensions>=11; extra == "content"
Provides-Extra: dev
Requires-Dist: pytest>=8.2; extra == "dev"
Requires-Dist: ruff>=0.5; extra == "dev"
Requires-Dist: mypy>=1.10; extra == "dev"

# capsize-django

Shared Django building blocks for the Capsize static-site family, consumed as a
`uv` workspace member by every site in this repository.

## `build_settings()`

Composes the contrib stack, middleware, templates, SQLite, static files and
`django-distill` output for a static content site, so a site's `settings.py`
becomes a short declarative call instead of a copied file.

Django is intentionally declared here (`>=5.2,<5.3`) and nowhere else: the
workspace `uv.lock` then resolves exactly one Django for every site.

## `static_site`

Shared `robots()` and `not_found()` views for compiled sites.

## License

MIT
