clean up, merge the different kind of lists, merge BaseSection & Section

This commit is contained in:
bkfox
2016-05-26 21:45:11 +02:00
parent 7402fc49b6
commit 157914a0a1
10 changed files with 140 additions and 179 deletions

View File

@ -170,7 +170,6 @@ class Post (models.Model):
return self.route_url(routes.DetailRoute,
{ 'pk': self.pk, 'slug': slugify(self.title) })
def get_object_list(self, request, object, **kwargs):
type = ContentType.objects.get_for_model(object)
qs = Comment.objects.filter(