summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 158b505..9e22160 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -2,7 +2,7 @@ from django.shortcuts import render_to_response
from django.template import RequestContext
from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap, BuildPages, BuildBooks
from src.build import builder as src_build
-from jrnl.build import BuildJrnl
+from jrnl.build import BuildJrnl, build_arc, build_detail
options = {
'writing': BuildWriting,
@@ -20,10 +20,10 @@ def do_build(request):
context = {}
if section == 'builddetails':
context = {'message': 'Writing Jrnl Permalinks to Disk'}
- BuildJrnl().build_detail_view()
+ build_detail()
elif section == 'writingarchives':
context = {'message': 'Writing Jrnl Archives to Disk'}
- BuildJrnl().build_arc()
+ build_arc()
elif section == 'buildrss':
context = {'message': 'Writing RSS to Disk'}
BuildJrnl().build_feed("jrnl:feed")