mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
10 lines
188 B
Python
10 lines
188 B
Python
|
from django.forms import ModelForm
|
||
|
|
||
|
from factions.models import Faction
|
||
|
|
||
|
|
||
|
class FactionForm(ModelForm):
|
||
|
class Meta:
|
||
|
model = Faction
|
||
|
fields = ["name", "description_md"]
|