summaryrefslogtreecommitdiff
path: root/app/pages/build.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-11-09 14:02:16 -0600
committerluxagraf <sng@luxagraf.net>2017-11-09 14:02:16 -0600
commitd42759bdcd6861039835f47153b621545bed334e (patch)
treebcd160b7e9cce9b7933f9fdd0babf901de67c213 /app/pages/build.py
parentff0316afe40fa8572e787bdc2c5c69fd9c7ace65 (diff)
fixed a couple small bugs
Diffstat (limited to 'app/pages/build.py')
-rw-r--r--app/pages/build.py2
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)