diff --git a/src/character/forms.py b/src/character/forms.py new file mode 100644 index 0000000..f96cbe1 --- /dev/null +++ b/src/character/forms.py @@ -0,0 +1,9 @@ +from django import forms + +from character.models import Character + + +class EquipmentForm(forms.ModelForm): + class Meta: + model = Character + fields = ["equipment", "money_pp", "money_po", "money_pa", "money_pc"] diff --git a/src/character/templates/character/equipment_update.html b/src/character/templates/character/equipment_update.html index 6b56966..dfbc2f0 100644 --- a/src/character/templates/character/equipment_update.html +++ b/src/character/templates/character/equipment_update.html @@ -1,5 +1,5 @@