Hi,
I found the problem when using OneToOneField and south.
The first migration create the field unique=True and every next migration is trying to set unique to False. And over and over.
Here is patch:
diff --git a/audit_log/models/managers.py b/audit_log/models/managers.py
index ee3defd..1c04825 100644
--- a/audit_log/models/managers.py
+++ b/audit_log/models/managers.py
@@ -101,6 +101,9 @@ class AuditLog(object):
field.__class__ = models.IntegerField
+ if isinstance(field, models.OneToOneField):
+ field.__class__ = models.ForeignKey
+
if field.primary_key:
field.serialize = True
--
1.7.5.4
Hi, I found the problem when using OneToOneField and south. The first migration create the field unique=True and every next migration is trying to set unique to False. And over and over. Here is patch: