Changeset 12414 for main/waeup.kofa/trunk/src/waeup/kofa/university
- Timestamp:
- 8 Jan 2015, 07:01:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/interfaces.py
r11838 r12414 21 21 from zope import schema 22 22 from zope.interface import Attribute, invariant, Invalid 23 from waeup.kofa.interfaces import (IKofaObject, IKofaContainer)23 from waeup.kofa.interfaces import IKofaObject, IKofaContainer, validate_id 24 24 from waeup.kofa.interfaces import MessageFactory as _ 25 25 from waeup.kofa.university.vocabularies import ( … … 39 39 default = u'NA', 40 40 required = True, 41 constraint=validate_id, 41 42 ) 42 43 … … 69 70 default = u'NA', 70 71 required = True, 72 constraint=validate_id, 71 73 ) 72 74 … … 112 114 default = u'NA', 113 115 required = True, 116 constraint=validate_id, 114 117 ) 115 118 … … 156 159 default = u'NA', 157 160 required = True, 161 constraint=validate_id, 158 162 ) 159 163
Note: See TracChangeset for help on using the changeset viewer.