Commits

Andrew Godwin committed 82d030c

Fix for #193

  • Participants
  • Parent commits b996f6d

Comments (0)

Files changed (1)

File south/modelsinspector.py

         if value == default_value:
             raise IsDefault
     # Models get their own special repr()
-    if type(value) is ModelBase:
+    if isinstance(value, ModelBase):
         return "orm['%s.%s']" % (value._meta.app_label, value._meta.object_name)
     # Callables get called.
     elif callable(value):