Mezzy
Utilities for Mezzanine sites
Installation
- Install via pip:
pip install mezzy - Add to
"mezzy"toINSTALLED_APPS(if using the template tags)
Features
Utilities
Found in mezzy.utils
adminmixins to create "nested" inline admin experiencesformsmixins for more accessible and user-friendly formsmodelsabstract model classes for common inline patternstestsTestCase mixin for class-based and function-based views
Template tags and filters
mezzy_tags provides the following:
microtemplate: Filter that parses certain variables in the value param. It can be used to allow some templating capabilities in admin fields. Default template tokens can be found inmezzy.defaults.load_theme: Tag that adds theSiteConfigurationto the context. It also uses the request object as cache to avoid some DB hits.clean: Filter that removes HTML tags and attributes that aren't allowed for Mezzanine by default, even if the user has disabled filtering.
Contributing
Review contribution guidelines at CONTRIBUTING.md.
Release files for mezzy 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mezzy-3.1.0.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mezzy-3.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:20.2 kB
Release files / mezzy-3.1.0.tar.gz
| Download URL | mezzy-3.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d2a10c58a439775f5e3513d854f80e06c124f80e733d272108b1e9cc091b48a
|
|
BLAKE2b-256 checksum How to use checksums |
1b8839fa13e8fa3c6ebe307c28890e03716836bcee0b945eef6320f1ceffa07f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / mezzy-3.1.0-py2.py3-none-any.whl
| Download URL | mezzy-3.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b10373fddba4b66cfcd20f1d3468561e741d73f8f118b26c6e4d69bf82640beb
|
|
BLAKE2b-256 checksum How to use checksums |
8be6eb8b25c8b0d8d757da504e03829344457ff39f331dc8af50622994874624
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|