Save fixtures

This commit is contained in:
Gabriel Augendre 2022-10-29 11:56:43 +02:00
parent 821ff50996
commit ca35a70084
3 changed files with 7831 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -110,7 +110,6 @@ class Character(models.Model):
def __str__(self): def __str__(self):
return self.name return self.name
@property
def natural_key(self): def natural_key(self):
return (self.name, self.player_id) return (self.name, self.player_id)

View file

@ -23,6 +23,5 @@ class UniquelyNamedModel(models.Model):
def __str__(self): def __str__(self):
return self.name return self.name
@property
def natural_key(self): def natural_key(self):
return (self.name,) return (self.name,)