Utilities for Mezzanine CMS
Project description
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.
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
mezzy-3.1.0.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mezzy-3.1.0-py2.py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file mezzy-3.1.0.tar.gz.
File metadata
- Download URL: mezzy-3.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d2a10c58a439775f5e3513d854f80e06c124f80e733d272108b1e9cc091b48a
|
|
| MD5 |
6b10ba544533a84013643e21ef87ea3a
|
|
| BLAKE2b-256 |
1b8839fa13e8fa3c6ebe307c28890e03716836bcee0b945eef6320f1ceffa07f
|
File details
Details for the file mezzy-3.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: mezzy-3.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b10373fddba4b66cfcd20f1d3468561e741d73f8f118b26c6e4d69bf82640beb
|
|
| MD5 |
25f6f0dfd942ba60376165fcb031c967
|
|
| BLAKE2b-256 |
8be6eb8b25c8b0d8d757da504e03829344457ff39f331dc8af50622994874624
|