Commits

Alen Mujezinovic  committed f2de4b8

Added south introspection rules if installed

  • Participants
  • Parent commits 3043f12

Comments (0)

Files changed (1)

File django_countries/fields.py

         if value is None:
             return None
         return unicode(value)
+
+try:
+    from south.modelsinspector import add_introspection_rules
+    add_introspection_rules([], ['^django_countries\.fields\.CountryField'])
+except ImportError:
+    pass