Utilities for Mezzanine CMS
Utilities for Mezzanine sites
- Install via pip:
pip install mezzy
- Add to
INSTALLED_APPS(if using the template tags)
adminmixins to create "nested" inline admin experiences
formsmixins for more accessible and user-friendly forms
modelsabstract model classes for common inline patterns
testsTestCase 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 in
load_theme: Tag that adds the
SiteConfigurationto 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.
Review contribution guidelines at CONTRIBUTING.md.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
mezzy-3.1.0.tar.gz (9.5 kB view hashes)
mezzy-3.1.0-py2.py3-none-any.whl (10.7 kB view hashes)
Hashes for mezzy-3.1.0-py2.py3-none-any.whl