diff options
Diffstat (limited to 'app/links')
-rw-r--r-- | app/links/build.py | 10 | ||||
-rw-r--r-- | app/links/views.py | 3 |
2 files changed, 6 insertions, 7 deletions
diff --git a/app/links/build.py b/app/links/build.py index 392e991..cc57884 100644 --- a/app/links/build.py +++ b/app/links/build.py @@ -4,7 +4,7 @@ from django.urls import reverse from . import models -class BuildEssays(BuildNew): +class BuildLinks(BuildNew): def build(self): self.build_list_view() @@ -13,10 +13,10 @@ class BuildEssays(BuildNew): #self.build_feed("src:feed") def build_list_view(self): - response = self.client.get('/essays/') - self.write_file('essays/', response.content) + response = self.client.get('/linked/') + self.write_file('linked/', response.content) -def essaybuilder(): - j = BuildEssays("essays", "essay") +def linkbuilder(): + j = BuildLinks("links", "link") j.build() diff --git a/app/links/views.py b/app/links/views.py index 64cc5f7..6d03d19 100644 --- a/app/links/views.py +++ b/app/links/views.py @@ -20,8 +20,7 @@ class EntryDetailView(DetailView): class EntryDetailViewTXT(EntryDetailView): - template_name = "entry_detail.txt" - + template_name = "blog/entry_detail.txt" class EntryYearArchiveView(YearArchiveView): |