All of my work from commits: dd4a194, 692644a, 4a60203, 5de46bc, 152042d, 64a2d4e...
[philo.git] / contrib / penfield / gilbert.py
1 from .models import Blog, BlogEntry, BlogView, NewsletterArticle, NewsletterIssue, Newsletter, NewsletterView
2 from philo.contrib.gilbert import site
3
4
5 site.register_model(Blog, icon_name='blog')
6 site.register_model(BlogEntry, search_fields=('title', 'content',), icon_name='document-snippet')
7 site.register_model(BlogView, icon_name='application-blog')
8 site.register_model(NewsletterArticle, icon_name='document-snippet')
9 site.register_model(NewsletterIssue, icon_name='newspaper')
10 site.register_model(Newsletter, icon_name='newspapers')
11 site.register_model(NewsletterView, icon_name='application')