This app provides integration with the Mezzanine project. Widgy Mezzanine uses
Mezzanine for site structure and Widgy for page content. It does this by
providing a subclass of Mezzanine’s Page model called
WidgyPage which delegates to
Page Builder for all content.
The dependencies for Widgy Mezzanine (Mezzanine and Widgy’s Page Builder app) are not installed by default when you install widgy, you can install them yourself:
$ pip install Mezzanine django-widgy[page_builder]
or you can install them using through the widgy package:
$ pip install django-widgy[page_builder,widgy_mezzanine]
In order to use Widgy Mezzanine, you must provide
your settings. This is a fully-qualified import path to an instance of
WidgySite. You also need to install the URLs.
User. If you want to override it, specify a
WIDGY_MEZZANINE_PAGE_MODELin your settings. the
widgy.contrib.widgy_mezzanine.models.WidgyPageMixinmixin is provided for ease of overriding. Any code that references a
WidgyPageshould use the
widgy.contrib.widgy_mezzanine.get_widgypage_model()to get the correct class.