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