All of my work from commits: dd4a194, 692644a, 4a60203, 5de46bc, 152042d, 64a2d4e...
[philo.git] / gilbert.py
1 from philo.models import Tag, Collection, Node, Redirect, File, Template, Page
2 from philo.contrib.gilbert import site
3
4
5 site.register_model(Tag, icon_name='tag-label', data_columns=('name', 'slug'), data_editable_columns=('name', 'slug'))
6 site.register_model(Collection, icon_name='box')
7 site.register_model(Node, icon_name='node')
8 site.register_model(Redirect, icon_name='arrow-switch')
9 site.register_model(File, icon_name='document-binary')
10 site.register_model(Page, icon_name='document-globe')
11 site.register_model(Template, icon_name='document-template')