Commits

Mark Lavin committed 09779e1

Louder deprecation of search_field.

  • Participants
  • Parent commits 88a6d45
  • Branches multi-field-lookups

Comments (0)

Files changed (1)

File selectable/registry.py

         if issubclass(lookup, ModelLookup) and getattr(lookup, 'search_field'):
             import warnings
             warnings.warn(
-                u"ModelLookup.search_field is deprecated; Use ModelLookup.search_fields instead", 
-                PendingDeprecationWarning
+                u"ModelLookup.search_field is deprecated; Use ModelLookup.search_fields instead.", 
+                DeprecationWarning
             )
 
     def register(self, lookup):