Changeset 870992c for asadb/forms
- Timestamp:
- Apr 15, 2013, 3:56:00 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 35280b4
- Parents:
- b8172c8
- git-author:
- Alex Dehnert <adehnert@…> (04/15/13 03:56:00)
- git-committer:
- Alex Dehnert <adehnert@…> (04/15/13 03:56:00)
- File:
-
- 1 edited
-
asadb/forms/views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
rc3a5618 r870992c 564 564 # Midway # 565 565 ########## 566 567 568 class View_Midways(ListView): 569 context_object_name = "midway_list" 570 template_name = "midway/midway_list.html" 571 572 def get_queryset(self): 573 midways = forms.models.Midway.objects.order_by('date') 574 return midways 575 576 def get_context_data(self, **kwargs): 577 context = super(View_Midways, self).get_context_data(**kwargs) 578 context['pagename'] = 'midway' 579 return context 566 580 567 581 def midway_map_latest(request, ):
Note: See TracChangeset
for help on using the changeset viewer.