Skip to content

Commit

Permalink
Fix for TOXENV=py27-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gagandeep committed Nov 27, 2018
1 parent 6aacff3 commit d542684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions categories/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, **kwargs):

try:
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^categories\.fields\.CategoryFKField"])
add_introspection_rules([], ["^categories\.fields\.CategoryM2MField"])
add_introspection_rules([], [r"^categories\.fields\.CategoryFKField"])
add_introspection_rules([], [r"^categories\.fields\.CategoryM2MField"])
except ImportError:
pass

0 comments on commit d542684

Please sign in to comment.