summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-16 14:23:24 -0500
committerluxagraf <sng@luxagraf.net>2015-11-16 14:23:24 -0500
commit7e2850517348d76fe40b7fb288c55b8ee9909e12 (patch)
tree57620573da00a0eaa2ba140d402151672bd5fabf /app
parentf2a52043d186b4302240f618fa969cea88a4f4b9 (diff)
fixed some bugs
Diffstat (limited to 'app')
-rw-r--r--app/builder/views.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 2efb696..7057543 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -1,9 +1,7 @@
from django.shortcuts import render_to_response
from django.template import RequestContext
-from django.conf import settings
from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap, BuildPages, BuildBooks
-#from pages.models import PageGenerator
-from src.build import BuildSrc
+from src.build import builder as src_build
options = {
'writing': BuildWriting,
@@ -46,8 +44,7 @@ def do_build(request):
BuildBooks().build()
elif section == 'src':
context = {'message': 'Writing src section to Disk'}
- BuildSrc().build()
-
+ src_build()
elif section == 'scrapeflickr':
from photos.retriever import SyncFlickr
f = SyncFlickr()