diff options
author | luxagraf <sng@luxagraf.net> | 2015-01-25 21:13:18 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-01-25 21:13:18 -0500 |
commit | 83233b9a4c6f29a65d2a337f89951e8d25190ee9 (patch) | |
tree | 283c4b518c07847925c86251525feee3bc265487 /app/blog/views.py | |
parent | 07dc722b5b244a21fbb8aa4e0bdafb53e1598330 (diff) |
fixed homepage layout and builder
Diffstat (limited to 'app/blog/views.py')
-rw-r--r-- | app/blog/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/blog/views.py b/app/blog/views.py index 0e887bd..498926c 100644 --- a/app/blog/views.py +++ b/app/blog/views.py @@ -12,8 +12,10 @@ from photos.models import Photo def home(request): obj = HomepageCurrator.objects.get(pk=1) template = obj.template_name + recent = Entry.objects.filter(status__exact=1)[:4] context = { 'homepage': obj, + 'recent': recent, } return render_to_response(template, context, context_instance=RequestContext(request)) |