diff options
Diffstat (limited to 'apps/photos')
-rw-r--r-- | apps/photos/views.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/photos/views.py b/apps/photos/views.py index 23efbde..43591ca 100644 --- a/apps/photos/views.py +++ b/apps/photos/views.py @@ -18,12 +18,7 @@ def gallery_list(request,page): request.page_url = '/photos/%d/' request.page = int(page) qs = PhotoGallery.objects.all().order_by('-id') - context = { - 'country_list': Country.objects.filter(visited=True), - 'region_list': Region.objects.all() - } - return object_list(request, queryset=qs, template_name='archives/photos.html', - extra_context=context) + return object_list(request, queryset=qs, template_name='archives/photos.html') """ |