diff options
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)) |