mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
10 lines
273 B
Python
10 lines
273 B
Python
from django.forms import ModelForm
|
|
|
|
from loot.models import Loot
|
|
|
|
|
|
class LootForm(ModelForm):
|
|
class Meta:
|
|
model = Loot
|
|
fields = ["name", "description_md", "quantity", "value_gold", "weight", "image", "owner", "location",
|
|
"magic_item"]
|