diff options
author | luxagraf <sng@luxagraf.net> | 2019-02-08 22:44:25 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-02-08 22:44:25 -0600 |
commit | 9e9b876365e428c4447b41f48b4f39b66e186cdd (patch) | |
tree | c682a4c95f3306ec0d912ce8558356fee9db5388 /app/pages | |
parent | 1d21cb9c914b21cceb83b1e8b3cbacacc35840d0 (diff) |
fixed conflict between pages and essay build
Diffstat (limited to 'app/pages')
-rw-r--r-- | app/pages/build.py | 3 |
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) |