From d42759bdcd6861039835f47153b621545bed334e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 9 Nov 2017 14:02:16 -0600 Subject: fixed a couple small bugs --- app/pages/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/pages') 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) -- cgit v1.2.3-70-g09d2