1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | from south.modelsinspector import add_introspection_rules try: from tagging.fields import TagField except ImportError: pass else: rules = [ ( (TagField, ), [], { "blank": ["blank", {"default": True}], "max_length": ["max_length", {"default": 255}], }, ), ] add_introspection_rules(rules, ["^tagging\.fields",]) |