Comparison grid django application allows creating comparison grids, attaching arbitary content types to grids and editing grid content through django admin interface.
- Django 1.2 or later (please note that example app uses CBV available in Django 1.3)
Add grid
to INSTALLED_APPS:
INSTALLED_APPS = ( 'grid', )
Add
grids
foreign field to models that you want to be connectable to grids, for example:class Product(models.Model): grids = models.ManyToManyField(Grid, related_name='grid_items', null=True, blank=True) ``Grid`` model expect related name to be set to ``grid_items``.
To test application and get a feeling how it works:
cd example ./manage.py syncdb --noinput && ./manage.py loaddata sample_data.json ./manage.py runserver
Username is admin
. Password is password
.
- ajax editing
- allow ordering of grid items
- allow restricting by features or items in templatetag