Merge branch 'master' into gilbert
[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')