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.1.tar.gz
.
File metadata
- Download URL: slippers-0.6.1.tar.gz
- Upload date:
- Size: 59.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a7104d7dc076a89ccf7f58e1b8c769adaf7da72ef9dfcbccb1fb1fb71f9b452 |
|
MD5 | 2f87528667d810df2f7c21a31610e1ec |
|
BLAKE2b-256 | 0d8e78fa2248a1c0e2238ba285a02467342a12faddf79ca15a3256ec1dbbc96c |
File details
Details for the file slippers-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: slippers-0.6.1-py3-none-any.whl
- Upload date:
- Size: 61.6 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 | da7a51e7bead0e5d0d4ce80db64db094583674f2a511ece37e3f6a37e7203adf |
|
MD5 | 44b970946b1a3112cffafd05a5387274 |
|
BLAKE2b-256 | 71a03cfbbc0e96d336de4e79f48481f93eeccf992b81e74074b1b58eff1a2df2 |