Skip to main content

django-fragments

Github CI

Purpose

Used for partial template rendering of: <input>, <svg> tags. Originally for a Django boilerplate, refactored out into an independent library.

Setup

After installation, e.g. pip install django-fragments

INSTALLED_APPS = [
    "django_fragments", # add this
]
...
FRAGMENTS = {
    "icons_prefix": "heroicons", # prefix to use for icons
    "icons_path": BASE_DIR / "templates" / "xxx" # type: Path, location where svg icons will be stored
}

See documentation.

Release files for django-fragments 0.1.9

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-fragments 0.1.9
File Size Uploaded
django_fragments-0.1.9.tar.gz 17.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-fragments 0.1.9
File Interpreter ABI Platform
django_fragments-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 43.1 kB

Release files / django_fragments-0.1.9.tar.gz

Download URL django_fragments-0.1.9.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b33b1aacc966202cace59ca7196eb056b54253c9e62a1f348b556a3d496c7115
BLAKE2b-256 checksum
How to use checksums
6f89861feaa4dcfa0fe0cd61a984fd946eb56e8c2e21fd632c9b01d7207b1062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.10.6 Darwin/22.5.0

Release files / django_fragments-0.1.9-py3-none-any.whl

Download URL django_fragments-0.1.9-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
274c5a1032718bf06e86c0b3a82c06071d21601d8581d58a6a40bbc976275ab7
BLAKE2b-256 checksum
How to use checksums
26a3bd70ef37469fe5feda20fab7747400e22a88e300ef5b707c442c76cd8e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.10.6 Darwin/22.5.0

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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