Changeset 9694 for main/waeup.futminna


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

    r8869 r9694  
    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.