Commit 9ae9a840 authored by LEVY-FALK Hugo's avatar LEVY-FALK Hugo Committed by root
Browse files

Enlève les log inutilisables.

parent 60e42d69
......@@ -927,8 +927,6 @@ def edit_portlist(request, pk):
if port_list.is_valid():
with transaction.atomic(), reversion.create_revision():
reversion.set_comment("Champs modifié(s) : %s" % ', '.join(field for field in port_list.changed_data))
messages.success(request, "Liste de ports modifiée")
return redirect("/machines/index_portlist/")
return form({'machineform' : port_list}, 'machines/machine.html', request)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment