Fix fields
This commit is contained in:
parent
1474b918f2
commit
9807433fe8
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class AddSuppliesView(SuppliesView, AddItemView):
|
|||
supplies = SuppliesRequirement.objects.create(
|
||||
teacher=form.cleaned_data['teacher'],
|
||||
level=level,
|
||||
fields=form.cleaned_data['fields'],
|
||||
field=form.cleaned_data['field'],
|
||||
supplies=form.cleaned_data['supplies'],
|
||||
)
|
||||
messages.success(self.request, f'"{supplies}" a été ajouté.')
|
||||
|
|
Loading…
Reference in a new issue