diff options
| author | Charles Roelli <charles@adnoto.net> | 2025-09-24 12:36:48 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-11 21:29:50 +0100 |
| commit | 612607e6321553acbaf3002d11a7fd7cd1f95d2e (patch) | |
| tree | 6988e88520c205717daae97b69c5f8bedd803e5c | |
| parent | 899296bfa2aab981ebe0ff388c74fb7ebb32038c (diff) | |
gnu: Add python-django-template-partials.
* gnu/packages/django.scm (python-django-template-partials): New variable.
Change-Id: I48daf4aacd5db9a2b7205ef87699b98e600f2494
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/django.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 25c3a2fc28..0df0b7db26 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -775,6 +775,35 @@ account authentication.") to Django.") (license license:bsd-3))) +(define-public python-django-template-partials + (package + (name "python-django-template-partials") + (version "25.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "django_template_partials" version)) + (sha256 + (base32 "1xmfjqb4alwqky0jmq03292y7m7w13mmh1yz0ayavlym2954w12m")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "DJANGO_SETTINGS_MODULE" "tests.settings") + (invoke "django-admin" "test" "--pythonpath=."))))))) + (propagated-inputs (list python-django)) + (native-inputs (list python-flit-core)) + (home-page "https://github.com/carltongibson/django-template-partials") + (synopsis + "Reusable named inline-partials for the Django Template Language") + (description + "This package provides template partials for Django, offering fragment +reuse, integration with the template loader and inline output.") + (license license:expat))) + (define-public python-django-debug-toolbar (package (name "python-django-debug-toolbar") |
