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