Commits

Alen Mujezinovic committed f2de4b8

Added south introspection rules if installed

Comments (0)

Files changed (1)

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