1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
This commit is contained in:
Lukas Winkler 2022-11-19 17:43:05 +01:00
parent cade8f232e
commit ccb3c2bda9
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

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