<s> from south . modelsinspector import add_introspection_rules <EOL> from django . conf import settings <EOL> if "<STR_LIT>" in settings . INSTALLED_APPS : <EOL> try : <EOL> from tagging . fields import TagField <EOL> except ImportError : <EOL> pass <EOL> else : <EOL> rules = [ <EOL> ( <EOL> ( TagField , ) , <EOL> [ ] , <EOL> { <EOL> "<STR_LIT:blank>" : [ "<STR_LIT:blank>" , { "<STR_LIT:default>" : True } ] , <EOL> "<STR_LIT:max_length>" : [ "<STR_LIT:max_length>" , { "<STR_LIT:default>" : <NUM_LIT:255> } ] , <EOL> } , <EOL> ) , <EOL> ] <EOL> add_introspection_rules ( rules , [ "<STR_LIT>" , ] ) <EOL> if "<STR_LIT>" in settings . INSTALLED_APPS : <EOL> add_introspection_rules ( [ ] , [ "<STR_LIT>" ] ) </s>
