Changeset de025c2 for asadb/forms/views.py
- Timestamp:
- Oct 21, 2012, 10:24:25 PM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 360b3d4
- Parents:
- 11941e1
- git-author:
- Alex Dehnert <adehnert@…> (10/21/12 22:24:25)
- git-committer:
- Alex Dehnert <adehnert@…> (10/21/12 22:24:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
r11941e1 rde025c2 501 501 group = group_update.group 502 502 num_confirms = len(people_confirmations.filter(groups=group)) 503 problems = [] 504 503 505 if num_confirms < 5: 506 problems.append("confirmations") 507 508 num_students = group_update.num_undergrads + group_update.num_grads 509 num_other = group_update.num_alum + group_update.num_other_affiliate + group_update.num_other 510 if num_students < num_other: 511 problems.append("50%") 512 513 for problem in problems: 504 514 output.writerow([ 505 515 group.id, 506 516 group.name, 507 'confirmations',517 problem, 508 518 num_confirms, 509 519 group.officer_email,
Note: See TracChangeset
for help on using the changeset viewer.