summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-02-03 16:33:07 -0600
committerluxagraf <sng@luxagraf.net>2018-02-03 16:33:07 -0600
commitf315914d3878fc97782501a3a39524d2db12cb8a (patch)
tree0ce7f5c3e014da4dd7447337679a3920925b9f95 /app/builder
parent89a5c0785676bcce601bbdf1f21fdcffbeb6c86a (diff)
added builder to the admin
Diffstat (limited to 'app/builder')
-rw-r--r--app/builder/views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 9e4671e..d1c47c7 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -10,6 +10,7 @@ from photos.build import builder as photo_builder
from figments.build import builder as figments_builder
from notes.build import builder as notes_builder
from pages.build import builder as page_builder
+from sketches.build import builder as sketches_builder
options = {
'writing': BuildWriting,
@@ -62,6 +63,9 @@ def do_build(request):
elif section == 'map':
context = {'message': 'Writing Map to Disk'}
map_builder()
+ elif section == 'sketches':
+ context = {'message': 'Writing Notes to Disk'}
+ sketches_builder()
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}