Changeset beb46fb for asadb/forms/views.py
- Timestamp:
- Nov 28, 2013, 11:48:36 PM (12 years ago)
- Branches:
- master, stable, stage
- Children:
- 08b7660
- Parents:
- 5560f6d
- git-author:
- Alex Dehnert <adehnert@…> (11/28/13 23:48:36)
- git-committer:
- Alex Dehnert <adehnert@…> (11/28/13 23:48:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
r88843ac rbeb46fb 498 498 499 499 500 class View_GroupConfirmationCyclesList(ListView): 501 context_object_name = "cycle_list" 502 template_name = "membership/admin.html" 503 model = forms.models.GroupConfirmationCycle 504 505 def get_context_data(self, **kwargs): 506 context = super(View_GroupConfirmationCyclesList, self).get_context_data(**kwargs) 507 context['pagename'] = 'groups' 508 return context 509 510 500 511 @permission_required('groups.view_group_private_info') 501 def group_confirmation_issues(request, ):512 def group_confirmation_issues(request, slug, ): 502 513 account_numbers = ("accounts" in request.GET) and request.GET['accounts'] == "1" 503 514 504 515 active_groups = groups.models.Group.active_groups 505 group_updates = forms.models.GroupMembershipUpdate.objects. all()516 group_updates = forms.models.GroupMembershipUpdate.objects.filter(cycle__slug=slug, ) 506 517 people_confirmations = forms.models.PersonMembershipUpdate.objects.filter( 507 518 deleted__isnull=True, 508 519 valid__gt=0, 520 cycle__slug=slug, 509 521 ) 510 522
Note: See TracChangeset
for help on using the changeset viewer.