1. Thomas Wanschik
  2. nonrel-search

Commits

Thomas Wanschik  committed 69d62c1

adapted to latest version of djangotoolbox

  • Participants
  • Parent commits 50f60eb
  • Branches default

Comments (0)

Files changed (1)

File search/core.py

View file
 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)