- Timestamp:
- 14 Dec 2014, 21:48:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pages.py
r11894 r12234 28 28 ICustomSessionConfiguration, ICustomSessionConfigurationAdd) 29 29 30 from kofacustom.pcn.university.faculty import I Department, IFaculty30 from kofacustom.pcn.university.faculty import ICustomDepartment, ICustomFaculty 31 31 32 32 grok.templatedir('templates') … … 46 46 """ Page form to add a new faculty to a faculty container. 47 47 """ 48 form_fields = grok.AutoFields(I Faculty)48 form_fields = grok.AutoFields(ICustomFaculty) 49 49 50 50 class FacultyManageFormPage(FacultyManageFormPage): 51 51 """Manage the basic properties of a `Faculty` instance. 52 52 """ 53 form_fields = grok.AutoFields(I Faculty).omit('code')53 form_fields = grok.AutoFields(ICustomFaculty).omit('code') 54 54 55 55 class DepartmentPage(DepartmentPage): … … 61 61 """ 62 62 grok.template('departmentmanagepage') 63 form_fields = grok.AutoFields(I Department).omit(63 form_fields = grok.AutoFields(ICustomDepartment).omit( 64 64 'code', 'score_editing_disabled') 65 65 … … 67 67 """Department index page. 68 68 """ 69 form_fields = grok.AutoFields(I Department).omit('score_editing_disabled')69 form_fields = grok.AutoFields(ICustomDepartment).omit('score_editing_disabled') 70 70 71 71 class CertificatePage(CertificatePage):
Note: See TracChangeset for help on using the changeset viewer.