mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 06:13:55 +01:00
Save fixtures
This commit is contained in:
parent
821ff50996
commit
ca35a70084
3 changed files with 7831 additions and 2 deletions
7831
src/character/fixtures/initial_data.json
Normal file
7831
src/character/fixtures/initial_data.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -110,7 +110,6 @@ class Character(models.Model):
|
|||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def natural_key(self):
|
||||
return (self.name, self.player_id)
|
||||
|
||||
|
|
|
@ -23,6 +23,5 @@ class UniquelyNamedModel(models.Model):
|
|||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def natural_key(self):
|
||||
return (self.name,)
|
||||
|
|
Loading…
Reference in a new issue