mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
9 lines
236 B
Python
9 lines
236 B
Python
from django.forms import ModelForm
|
|
|
|
from characters.models import Character
|
|
|
|
|
|
class CharacterForm(ModelForm):
|
|
class Meta:
|
|
model = Character
|
|
fields = ["name", "description_md", "subtitle", "player", "color", "image"]
|