Catalog Wizard for Django>=1.6.1
Allows to configure (by defining the project setting CATALOGS) all the required catalogs. A Catalog is defined as an interchangeable set of different templates for a list of "catalogue items", to which you may apply one or more filters (from the configured filter tray) and group according to specified criteria.
Any Django model can be a "catalogue item", only by adding a decorator to model definition.
There are a variety of provided Filters and Groupers, but the component could work with any derived class, so it is extensible.
The component integrates nicely with django-social-graph
Added South support. Added search logging support.
Added the possibility of setting fixed filters, that is, filters that always applies to catalog's queryset, without user decision.
Added kwargs to all filters init method.
Fix in CatalogView's max_page determination for grouped lists.
Fix in CatalogView's 'get_form_kwargs' method
Fix pagination and ordering operations execution order. Fix in ChildRelationAttributeRangeFilter
ModelContextTemplate model registered for django admin.
Graph filters now expects a comma separated target_pk argument, so we can filter objects according the existence (or attribute, or time of) their edges with multiple targets simultaneously.
Added support for using a FILTER & ORDER form with CatalogView Added support for compound filters
Added support for sorting the result list, grouped or not. Pagination now takes place after grouping, so every group object list gets paginated individually.
Added custom template tag for getting the proper template to use for rendering a given object in a given context.
PENDING...
PENDING...
- Run
python setup.py install
to install. - Modify your Django settings to use
catalog
: - Configure CATALOGS setting. An example is distributed in catalog/tests module.