Changeset a526ed2
- Timestamp:
- Nov 29, 2013, 12:18:04 AM (13 years ago)
- Branches:
- master, stable, stage
- Children:
- 8a6faa1
- Parents:
- 08b7660
- git-author:
- Alex Dehnert <adehnert@…> (11/29/13 00:18:04)
- git-committer:
- Alex Dehnert <adehnert@…> (11/29/13 00:18:04)
- Location:
- asadb
- Files:
-
- 2 edited
-
forms/views.py (modified) (4 diffs)
-
template/membership/admin.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
r08b7660 ra526ed2 513 513 account_numbers = ("accounts" in request.GET) and request.GET['accounts'] == "1" 514 514 515 active_groups = groups.models.Group.active_groups 515 check_groups = groups.models.Group.objects.filter(group_status__slug__in=('active', 'suspended', )) 516 check_groups = check_groups.select_related('group_status__slug') 516 517 group_updates = forms.models.GroupMembershipUpdate.objects.filter(cycle__slug=slug, ) 517 518 people_confirmations = forms.models.PersonMembershipUpdate.objects.filter( … … 523 524 buf = StringIO.StringIO() 524 525 output = csv.writer(buf) 525 fields = ['group_id', 'group_name', ' issue', 'num_confirm', 'officer_email', ]526 fields = ['group_id', 'group_name', 'group_status', 'issue', 'num_confirm', 'officer_email', ] 526 527 if account_numbers: fields.append("main_account") 527 528 output.writerow(fields) … … 531 532 group.id, 532 533 group.name, 534 group.group_status.slug, 533 535 issue, 534 536 num_confirms, … … 539 541 540 542 q_present = Q(id__in=group_updates.values('group')) 541 missing_groups = active_groups.filter(~q_present)543 missing_groups = check_groups.filter(~q_present) 542 544 #print len(list(group_updates)) 543 545 for group in missing_groups: -
asadb/template/membership/admin.html
rbeb46fb ra526ed2 27 27 <p>The list includes the following types of issues:</p> 28 28 <dl> 29 <dt>unsubmitted</dt><dd>active groups ("group status" is "Active")who have not submitted an update29 <dt>unsubmitted</dt><dd>active or suspended groups who have not submitted an update 30 30 <dt>confirmations</dt><dd>groups that have submitted an update but had less than five members confirm membership</dd> 31 31 <dt>50%</dt><dd>groups that submitted a confirmation with more non-students (alum, other affiliates, or other) than students (grad or undergrad)</dd>
Note: See TracChangeset
for help on using the changeset viewer.