refactor: adjust views missing add/change form to now use forms

!35 #15 #46 #74 #120 #121 fixes #118
This commit is contained in:
2024-07-13 17:28:10 +09:30
parent 8c1be67974
commit 367c4bebb6
23 changed files with 251 additions and 115 deletions

View File

@ -21,6 +21,18 @@ TeamUserFormSet = inlineformset_factory(
]
)
class TeamFormAdd(CommonModelForm):
class Meta:
model = Team
fields = [
'name',
]
class TeamForm(CommonModelForm):
class Meta: