mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
add name
This commit is contained in:
parent
cade8f232e
commit
ccb3c2bda9
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ from utils.random_filename import get_file_path
|
|||
class LootType(models.Model):
|
||||
name = models.CharField(_("Name"), max_length=1000)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
class Loot(DescriptionModel, AliasModel, HistoryModel):
|
||||
name = models.CharField(_("Name"), max_length=1000)
|
||||
|
|
Loading…
Reference in a new issue