Commits

Anonymous committed daf8f33

Getting there...

Comments (0)

Files changed (1)

gnocchi_blog/views.py

 
 class PostList(ArchiveIndexView, PostMixin):
     template_name = 'blog/post_list.html'
+    model = models.Post
 
 class PostDetail(DateDetailView, PostMixin):
     template_name = 'blog/post_detail.html'
+    model = models.Post
 
     def post(self, request, *args, **kwargs):
         self.object = self.get_object()