summaryrefslogtreecommitdiff
path: root/app/jrnl/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/jrnl/build.py')
-rw-r--r--app/jrnl/build.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/jrnl/build.py b/app/jrnl/build.py
index 5b5d929..0b3826a 100644
--- a/app/jrnl/build.py
+++ b/app/jrnl/build.py
@@ -5,6 +5,7 @@ from itertools import chain
from django.conf import settings
+
class BuildJrnl(BuildNew):
def build(self):
@@ -58,7 +59,7 @@ 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)
@@ -72,7 +73,6 @@ class BuildJrnl(BuildNew):
self.write_file("media/js/mainmap", response.content, 'js', '')
-
def archive_builder():
j = BuildJrnl("jrnl", "entry")
j.build_arc()
@@ -93,6 +93,7 @@ def rss_builder():
j = BuildJrnl("jrnl", "entry")
j.build_feed("jrnl:feed")
+
def map_builder():
j = BuildJrnl("jrnl", "entry")
j.build_map()