Ignore:
Timestamp:
15 Sep 2011, 11:07:23 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove index package. We don't need UniqueFields? since they do not really help us.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/catalog.py

    r6750 r6778  
    66from hurry.query.query import Query
    77from zope.index.text.parsetree import ParseError
    8 from waeup.sirp.index import UniqueField
    98from waeup.sirp.interfaces import IUniversity, IQueryResultItem
    109from waeup.sirp.students.interfaces import IStudent
     
    1918    student_id = index.Field(attribute='student_id')
    2019    name = index.Text(attribute='name')
    21     reg_number = UniqueField(attribute='reg_number')
    22     matric_number = UniqueField(attribute='matric_number')
     20    reg_number = index.Field(attribute='reg_number')
     21    matric_number = index.Field(attribute='matric_number')
    2322    state = index.Field(attribute='state')
    2423
Note: See TracChangeset for help on using the changeset viewer.