Fix Validation during migration.

This commit is contained in:
Casper V. Kristensen 2021-01-13 02:08:05 +01:00
parent 15896cb0b6
commit a3790bfc1a
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -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