- Timestamp:
- 13 Jul 2007, 21:56:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r2015 r2016 927 927 "level", 928 928 ), 929 #'personal': ('firstname',930 #'middlename',931 #'lastname',932 #'perm_address',933 #),929 'personal': ('firstname', 930 'middlename', 931 'lastname', 932 'perm_address', 933 ), 934 934 'clearance': ('state', # is not an attribute of clearance but is needed for splitting lga 935 935 'lga', … … 948 948 open(export_file,"a").write(headline +'\n') 949 949 format = '"%(' + ')s","%('.join(fields) + ')s"' 950 #query = In('review_state',('cleared_and_validated', 951 # 'school_fee_paid', 952 # 'courses_registered', 953 # 'courses_validated')) 954 query = In('review_state',('clearance_requested')) 950 query = In('review_state',('cleared_and_validated', 951 'clearance_requested', 952 'school_fee_paid', 953 'courses_registered', 954 'courses_validated')) 955 #query = In('review_state',('clearance_requested')) 955 956 students = aq_students(query) 956 957 nr2export = len(students)
Note: See TracChangeset for help on using the changeset viewer.