refactor: adjust views missing add/change form to now use forms
!35 #15 #46 #74 #120 #121 fixes #118
This commit is contained in:
@ -21,6 +21,18 @@ TeamUserFormSet = inlineformset_factory(
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
|
||||
class TeamFormAdd(CommonModelForm):
|
||||
|
||||
class Meta:
|
||||
model = Team
|
||||
fields = [
|
||||
'name',
|
||||
]
|
||||
|
||||
|
||||
|
||||
class TeamForm(CommonModelForm):
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user