diff options
author | luxagraf <sng@luxagraf.net> | 2016-02-04 11:56:26 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-02-04 11:56:26 -0500 |
commit | 730c22cba0f92e7801c47e4d79b0e1ab719ed69c (patch) | |
tree | fdb55989e44cfca3bb76eccf63013a2fd3c7be29 /app/jrnl | |
parent | 83345be3f40f14cc2a09bac9b4d03e333c9b8d2f (diff) |
changed build script for homepage to new format
Diffstat (limited to 'app/jrnl')
-rw-r--r-- | app/jrnl/build.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/jrnl/build.py b/app/jrnl/build.py index 6d5b0f6..51987f5 100644 --- a/app/jrnl/build.py +++ b/app/jrnl/build.py @@ -26,7 +26,6 @@ class BuildJrnl(BuildNew): self.build_month_view("jrnl:list_month") self.build_location_view() - def build_location_view(self): c = apps.get_model('locations', 'Country') r = apps.get_model('locations', 'Region') @@ -53,12 +52,21 @@ class BuildJrnl(BuildNew): else: self.write_file(base_path, response.content) + def build_homepage(self): + response = self.client.get('/') + self.write_file('', response.content) + -def build_arc(): +def archive_builder(): j = BuildJrnl("jrnl", "entry") j.build_arc() -def build_detail(): +def detail_builder(): + j = BuildJrnl("jrnl", "entry") + j.build_detail_view() + + +def home_builder(): j = BuildJrnl("jrnl", "entry") j.build_detail_view() |