diff options
Diffstat (limited to 'app/pages')
-rw-r--r-- | app/pages/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pages/build.py b/app/pages/build.py index 94719a2..f63fd89 100644 --- a/app/pages/build.py +++ b/app/pages/build.py @@ -14,7 +14,7 @@ class BuildPages(BuildNew): def build_essays(self): qs = self.model.objects.filter(path="essays") - c = Context({'object_list': qs, 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL}) + 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) |