diff options
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() |