Build reusable components in Django without writing a single line of Python.
Project description
Build reusable components in Django without writing a single line of Python.
{% #quote %}
{% quote_photo src="/project-hail-mary.jpg" %}
{% #quote_text %}
“I penetrated the outer cell membrane with a nanosyringe."
"You poked it with a stick?"
"No!" I said. "Well. Yes. But it was a scientific poke
with a very scientific stick.”
{% /quote_text %}
{% #quote_attribution %}
Andy Weir, Project Hail Mary
{% /quote_attribution %}
{% /quote %}
What is Slippers?
The Django Template Language is awesome. It's fast, rich in features, and overall pretty great to work with.
Slippers aims to augment DTL, adding just enough functionality to make building interfaces just that bit more comfortable.
It includes additional template tags and filters, but its headline feature is reusable components.
{% #button variant="primary" %}See how it works{% /button %}
Installation
pip install slippers
Add it to your INSTALLED_APPS
:
INSTALLED_APPS = [
...
'slippers',
...
]
Documentation
Full documentation can be found on the Slippers documentation site.
Contributors
License
MIT
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file slippers-0.6.2.tar.gz
.
File metadata
- Download URL: slippers-0.6.2.tar.gz
- Upload date:
- Size: 59.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb555b8822ba0d404e5405723f5d723994022c29046008ee917081031bc0cf1 |
|
MD5 | 45bdbb4186092b098aa2a4a89e4edd5c |
|
BLAKE2b-256 | a7c66af4500f31e53e9f782d264cb715f1a8cc9ac4248fba9fe2fe172822ea79 |
File details
Details for the file slippers-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: slippers-0.6.2-py3-none-any.whl
- Upload date:
- Size: 61.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 739e05f85354becbf0a65daab831eea62557d89e7512042209ab629af4378bca |
|
MD5 | 3783daf22f179e08f94ec6bcad21942e |
|
BLAKE2b-256 | d58c1fe2803870861f9a7f0cf502e4d1361dbb3685997118f4f76fd83ec9272f |