summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/build.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/build.py b/app/src/build.py
index d1d3042..a16bdaf 100644
--- a/app/src/build.py
+++ b/app/src/build.py
@@ -23,6 +23,9 @@ class BuildSrc(BuildNew):
def build_topic_view(self):
for topic in models.Topic.objects.all():
+ ctype = ContentType.objects.get(app_label='posts', model='post')
+ for cat in Category.objects.all():
+
url = reverse("src:list_topics", kwargs={'slug': topic.slug, })
path, slug = os.path.split(url)
response = self.client.get(url, HTTP_HOST='127.0.0.1')