Commits

Andrew Godwin committed 78e8157

Fixed #731: Bad SlugField freezing

Comments (0)

Files changed (2)

south/creator/freezer.py

         for name in USELESS_META:
             if name in meta:
                 del meta[name]
-    return meta
+    return meta

south/modelsinspector.py

         },
     ),
     (
+        (models.SlugField, ),
+        [],
+        {
+            "db_index": ["db_index", {"default": True}],
+        },
+    ),
+    (
         (models.BooleanField, ),
         [],
         {