mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 19:33:11 +00:00
Enlève les log inutilisables.
This commit is contained in:
parent
60e42d6993
commit
9ae9a840be
1 changed files with 0 additions and 2 deletions
|
@ -927,8 +927,6 @@ def edit_portlist(request, pk):
|
||||||
if port_list.is_valid():
|
if port_list.is_valid():
|
||||||
with transaction.atomic(), reversion.create_revision():
|
with transaction.atomic(), reversion.create_revision():
|
||||||
port_list.save()
|
port_list.save()
|
||||||
reversion.set_user(request.user)
|
|
||||||
reversion.set_comment("Champs modifié(s) : %s" % ', '.join(field for field in port_list.changed_data))
|
|
||||||
messages.success(request, "Liste de ports modifiée")
|
messages.success(request, "Liste de ports modifiée")
|
||||||
return redirect("/machines/index_portlist/")
|
return redirect("/machines/index_portlist/")
|
||||||
return form({'machineform' : port_list}, 'machines/machine.html', request)
|
return form({'machineform' : port_list}, 'machines/machine.html', request)
|
||||||
|
|
Loading…
Reference in a new issue