Commits

Anonymous committed 69d62c1

adapted to latest version of djangotoolbox

Comments (0)

Files changed (1)

 class IndexField(ListField):
     def __init__(self, search_manager, *args, **kwargs):
         self.search_manager = search_manager
-        kwargs['field_type'] = models.CharField(max_length=500)
+        kwargs['item_field'] = models.CharField(max_length=500)
         kwargs['editable'] = False
         super(IndexField, self).__init__(*args, **kwargs)