track prior organization_id by base model prior values tore

Also fix bug where unified pointers were counted in
the prior values store
This commit is contained in:
AlanCoding
2018-05-18 07:52:19 -04:00
parent 967624c576
commit b7e9bda6cf
3 changed files with 6 additions and 12 deletions

View File

@@ -218,6 +218,7 @@ class ImplicitRoleField(models.ForeignKey):
kwargs.setdefault('to', 'Role')
kwargs.setdefault('related_name', '+')
kwargs.setdefault('null', 'True')
kwargs.setdefault('editable', False)
super(ImplicitRoleField, self).__init__(*args, **kwargs)
def deconstruct(self):