1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/loot/forms.py

11 lines
273 B
Python
Raw Normal View History

2021-08-29 22:09:22 +02:00
from django.forms import ModelForm
from loot.models import Loot
class LootForm(ModelForm):
class Meta:
model = Loot
2021-10-17 18:54:30 +02:00
fields = ["name", "description_md", "quantity", "value_gold", "weight", "image", "owner", "location",
"magic_item"]