Ignore:
Timestamp:
20 Nov 2012, 06:37:29 (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.fceokene/trunk/src/waeup/fceokene/students/studylevel.py

    r8868 r9693  
    3838    grok.provides(ICustomStudentStudyLevel)
    3939
    40 CustomStudentStudyLevel = attrs_to_fields(CustomStudentStudyLevel)
     40CustomStudentStudyLevel = attrs_to_fields(
     41    CustomStudentStudyLevel, omit=['total_credits', 'gpa'])
    4142
    4243class CustomStudentStudyLevelFactory(StudentStudyLevelFactory):
Note: See TracChangeset for help on using the changeset viewer.