diff options
Diffstat (limited to 'app/jrnl/build.py')
-rw-r--r-- | app/jrnl/build.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/jrnl/build.py b/app/jrnl/build.py index ba2aae4..1f86b39 100644 --- a/app/jrnl/build.py +++ b/app/jrnl/build.py @@ -17,6 +17,7 @@ class BuildJrnl(BuildNew): self.build_detail_view() self.build_location_view() self.build_feed("jrnl:feed") + self.build_latest() def build_arc(self): self.build_list_view( @@ -56,6 +57,10 @@ class BuildJrnl(BuildNew): def build_homepage(self): response = self.client.get('/') self.write_file('', response.content) + + def build_latest(self): + response = self.client.get('/jrnl/latest/') + self.write_file(reverse("jrnl:latest"), response.content) def build_map(self): self.build_list_view( |