Ignore:
Timestamp:
20 Nov 2012, 06:37:11 (12 years ago)
Author:
Henrik Bettermann
Message:

Use new attrs_to_fields function to display gpa and total_credits on level pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r9502 r9692  
    6161        return
    6262
    63 CustomStudentStudyLevel = attrs_to_fields(CustomStudentStudyLevel)
     63CustomStudentStudyLevel = attrs_to_fields(
     64    CustomStudentStudyLevel, omit=['total_credits', 'gpa'])
    6465
    6566class CustomStudentStudyLevelFactory(StudentStudyLevelFactory):
Note: See TracChangeset for help on using the changeset viewer.