Fix Validation during migration.
This commit is contained in:
parent
15896cb0b6
commit
a3790bfc1a
|
@ -71,8 +71,8 @@ class User(AbstractUser):
|
||||||
role=Character.Role.DAMAGE
|
role=Character.Role.DAMAGE
|
||||||
)
|
)
|
||||||
self.main.save()
|
self.main.save()
|
||||||
user = super().save(*args, **kwargs)
|
|
||||||
self.main.user = self
|
self.main.user = self
|
||||||
|
user = super().save(*args, **kwargs)
|
||||||
self.main.save()
|
self.main.save()
|
||||||
return user
|
return user
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue