Changeset 15895 for main


Ignore:
Timestamp:
18 Dec 2019, 12:39:45 (5 years ago)
Author:
Henrik Bettermann
Message:

Omit UG_OMIT_DISPLAY_FIELDS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/applicants/browser.py

    r14210 r15895  
    6969        target = getattr(self.context.__parent__, 'prefix', None)
    7070        form_fields = grok.AutoFields(ICustomUGApplicant)
     71        for field in UG_OMIT_DISPLAY_FIELDS:
     72            form_fields = form_fields.omit(field)
    7173        form_fields['notice'].custom_widget = BytesDisplayWidget
    7274        form_fields['jamb_subjects'].custom_widget = BytesDisplayWidget
Note: See TracChangeset for help on using the changeset viewer.