17 lines
338 B
Python
Raw Normal View History

2025-01-26 00:53:17 +01:00
from django import forms
2025-02-02 15:33:11 +01:00
from dispatcher.models import Project, Parent
2025-01-26 00:53:17 +01:00
2025-02-02 15:33:11 +01:00
class ParentForm(forms.ModelForm):
class Meta:
model = Parent
fields = "__all__"
2025-01-26 00:53:17 +01:00
class ProjectForm(forms.ModelForm):
class Meta:
model = Project
fields = "__all__"
class ImportForm(forms.Form):
file = forms.FileField()