summaryrefslogtreecommitdiff
path: root/app/pages
diff options
context:
space:
mode:
Diffstat (limited to 'app/pages')
-rw-r--r--app/pages/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/pages/build.py b/app/pages/build.py
index be4369e..b1bd53d 100644
--- a/app/pages/build.py
+++ b/app/pages/build.py
@@ -9,14 +9,15 @@ from builder.base import BuildNew
class BuildPages(BuildNew):
def build(self):
self.build_detail_view()
- self.build_essays()
print("building pages")
+ '''
def build_essays(self):
qs = self.model.objects.filter(path="essays", build=True)
c = {'object_list': qs, 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL}
t = render_to_string('archives/essays.html', c).encode('utf-8')
self.write_file('essays/', t)
+ '''
def get_model_queryset(self):
return self.model.objects.filter(build=True)