citry-django
Citry and Django's template engines, composed.
from citry import Citry
from citry_django import CitryDjangoExtension
app = Citry(extensions=[CitryDjangoExtension()])
# settings.py
TEMPLATES = [{"BACKEND": "citry_django.backend.CitryTemplates", "APP_DIRS": True, ...}]
CITRY_APP = "myproject.app:app"
Any {% tag %} you can {% load %} in Django then works inside a Citry
component, and Citry components work in your existing Django templates. Neither
syntax changes, and the adapter names no tag: each engine's own parser decides
what belongs to it.
See the repository README for the full picture, the limits, and how it works.
Optional extras
pip install citry-django[compressor]
Routes each component's CSS and JS through django-compressor, so assets are
preprocessed (SCSS, Less, ...) and minified. See citry-django-compressor.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file citry_django-0.1.0.tar.gz.
File metadata
- Download URL: citry_django-0.1.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9f536e6b7af1acbaa3b3eab841dad976d3ddf1493569c22affa5e1c46476aff
|
|
| MD5 |
bfa6aca87d63f8a9a16b951155933656
|
|
| BLAKE2b-256 |
d4e186c95667230b19a67ead5122ba62dd5e5461c9b77f90b80000b57cb5f0d7
|
Provenance
The following attestation bundles were made for citry_django-0.1.0.tar.gz:
Publisher:
publish.yml on joeyjurjens/citry-django
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citry_django-0.1.0.tar.gz -
Subject digest:
f9f536e6b7af1acbaa3b3eab841dad976d3ddf1493569c22affa5e1c46476aff - Sigstore transparency entry: 2581981865
- Sigstore integration time:
-
Permalink:
joeyjurjens/citry-django@edcee5c2819ad244f87c01438ef4d2c2494d9807 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/joeyjurjens
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@edcee5c2819ad244f87c01438ef4d2c2494d9807 -
Trigger Event:
release
-
Statement type:
File details
Details for the file citry_django-0.1.0-py3-none-any.whl.
File metadata
- Download URL: citry_django-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02f9163d74b5cbb291b7141b91d3ba5066d7ce0f210af733e737115756550b25
|
|
| MD5 |
d3c1e4941048a6795538b9afa8cb2dc8
|
|
| BLAKE2b-256 |
f3a871fbbe2e4a737ee5a0e47c7f1174bc4fe31225e9e5004296b89be93d1b4c
|
Provenance
The following attestation bundles were made for citry_django-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on joeyjurjens/citry-django
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citry_django-0.1.0-py3-none-any.whl -
Subject digest:
02f9163d74b5cbb291b7141b91d3ba5066d7ce0f210af733e737115756550b25 - Sigstore transparency entry: 2581971213
- Sigstore integration time:
-
Permalink:
joeyjurjens/citry-django@bd53e8d9f5ca1f9f8f497eec1699417345a6dc45 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/joeyjurjens
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bd53e8d9f5ca1f9f8f497eec1699417345a6dc45 -
Trigger Event:
release
-
Statement type: