8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-26 08:53:46 +00:00
This commit is contained in:
Gabriel Detraz 2017-10-02 05:11:50 +02:00 committed by root
parent 3147066a85
commit 6d398f0a75

View file

@ -935,7 +935,7 @@ def edit_portlist(request, pk):
can_delete=True, can_delete=True,
min_num=1, min_num=1,
validate_min=True, validate_min=True,
)(request.POST or None, queryset=port_list_instance.port_set.all()) )(request.POST or None, queryset=port_list_instance.ouvertureport_set.all())
if port_list.is_valid() and port_formset.is_valid(): if port_list.is_valid() and port_formset.is_valid():
pl = port_list.save() pl = port_list.save()
instances = port_formset.save(commit=False) instances = port_formset.save(commit=False)