diff options
author | luxagraf <sng@luxagraf.net> | 2017-09-23 16:48:54 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-09-23 16:48:54 -0500 |
commit | 821fc221c86cd0630042aecc4bb6cddd9464208b (patch) | |
tree | 8c3479b1315deeb55e78886ccbe1b9583f90ddbc /app/builder | |
parent | ef2fbc67a923e4d39f0497943c11dc1eaeb74f5d (diff) |
pulled in changes on arch server
Diffstat (limited to 'app/builder')
-rw-r--r-- | app/builder/base.py | 6 | ||||
-rw-r--r-- | app/builder/views.py | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index d9c2288..573cf6b 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -205,7 +205,11 @@ class BuildWriting(Build): ''' qs = self.get_model_querset() for entry in qs: - c = Context({'object': entry, 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL}) + c = { + 'object': entry, + 'MEDIA_URL': settings.BAKED_MEDIA_URL, + 'IMAGES_URL': settings.BAKED_IMAGES_URL + } t = render_to_string('details/entry.html', c).encode('utf-8') path = '/jrnl/%s/' %(entry.pub_date.strftime("%Y/%m").lower()) slug = '%s' %(entry.slug) diff --git a/app/builder/views.py b/app/builder/views.py index 55a037c..efe5eb9 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -65,7 +65,7 @@ def do_build(request): else: options[section]().build() context = {'message': 'Writing %s to Disk' % section} - return render_to_response('admin/message.html', context, context_instance=RequestContext(request)) + return render_to_response('admin/message.html', context) """ |