Changeset 6218 for main/waeup.sirp/trunk/src/waeup/sirp/university
- Timestamp:
- 29 May 2011, 10:14:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/catalog.py
r6210 r6218 13 13 ICertificate, 14 14 ) 15 from waeup.sirp.index import UniqueField 15 16 16 17 class CourseIndexes(grok.Indexes): … … 21 22 grok.context(ICourse) 22 23 23 code = grok.index.Field(attribute='code')24 code = UniqueField(attribute='code') 24 25 title = grok.index.Text(attribute='title') 25 26 … … 31 32 grok.context(ICertificate) 32 33 33 code = grok.index.Field(attribute='code')34 code = UniqueField(attribute='code') 34 35 application_category = grok.index.Field(attribute='application_category') 35 36
Note: See TracChangeset for help on using the changeset viewer.