diff options
Diffstat (limited to 'apps/photos/views.py')
-rw-r--r-- | apps/photos/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/photos/views.py b/apps/photos/views.py index 861f00e..a1e3459 100644 --- a/apps/photos/views.py +++ b/apps/photos/views.py @@ -26,7 +26,7 @@ def gallery(request,slug): context = { 'object': PhotoGallery.objects.get(set_slug=slug) } - render_to_response('details/photo_galleries.html', context, context_instance = RequestContext(request)) + return render_to_response('details/photo_galleries.html', context, context_instance = RequestContext(request)) def photo_json(request, slug): p = PhotoGallery.objects.filter(set_slug=slug) |