This commit is contained in:
2025-07-15 20:57:15 +03:00
parent f6c78a20a3
commit 0ffd79cee9
51 changed files with 1227 additions and 653 deletions
+17
View File
@@ -0,0 +1,17 @@
from django.forms import ModelForm
from common.models import LinesModel
class LineBaseForm(ModelForm):
class Meta:
model = LinesModel
fields = '__all__'
class LineCreateForm(LineBaseForm):
...
class LineUpdateForm(LineBaseForm):
...