- Timestamp:
- 25 Oct 2012, 11:41:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/interfaces.py
r9414 r9416 236 236 owner = schema.TextLine( 237 237 title = _(u'Owner (Student)'), 238 description = _('Enter valid student id.'), 238 239 required = True, 239 240 default = u'', … … 251 252 if not bed.owner in student_ids: 252 253 raise Invalid(_( 253 "Either student does not exist or is not in accommodation session.")) 254 "Either student does not exist or student " 255 "is not in accommodation session.")) 254 256 catalog = getUtility(ICatalog, name='beds_catalog') 255 257 beds = catalog.searchResults(owner=(bed.owner,bed.owner))
Note: See TracChangeset for help on using the changeset viewer.