diff --git a/categories/fields.py b/categories/fields.py index c7418b55..1926de95 100644 --- a/categories/fields.py +++ b/categories/fields.py @@ -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