summaryrefslogtreecommitdiff
path: root/app/posts/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/build.py')
-rw-r--r--app/posts/build.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/posts/build.py b/app/posts/build.py
index 1b21666..23d67d5 100644
--- a/app/posts/build.py
+++ b/app/posts/build.py
@@ -5,7 +5,7 @@ from builder.base import BuildNew
from itertools import chain
from django.conf import settings
-from .models import PostType
+from .models import PostType, PostTopic
class BuildSrc(BuildNew):
@@ -122,6 +122,11 @@ class BuildEssays(BuildNew):
base_path=reverse("essay-list:list"),
paginate_by=50
)
+ for t in PostTopic.labels:
+ self.build_list_view(
+ base_path=reverse("essay-list:category-detail", kwargs={'topic':t}),
+ paginate_by=50
+ )
self.build_detail_view()