summaryrefslogtreecommitdiff
path: root/apps/photos/views.py
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-12 21:58:26 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2009-11-12 21:58:26 +0000
commitb0464d2bcb252c8d2cef9dfca9dd7b40ec498c55 (patch)
treef39715fefd2828fd794a25fcf5301ed1ffd14ce0 /apps/photos/views.py
parentc9022d38a303dcd756d34a2cbc4e3c49b22e0cf2 (diff)
speed optimizations
Diffstat (limited to 'apps/photos/views.py')
-rw-r--r--apps/photos/views.py7
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')
"""