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

10 lines
248 B
Python
Raw Normal View History

2021-08-29 22:09:22 +02:00
from django.forms import ModelForm
from characters.models import Character
class CharacterForm(ModelForm):
class Meta:
model = Character
2021-09-06 20:34:43 +02:00
fields = ["name", "description_md", "subtitle", "player", "location", "color", "image"]