8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +00:00

Enlève les log inutilisables.

This commit is contained in:
LEVY-FALK Hugo 2017-10-01 16:57:51 +02:00 committed by root
parent 60e42d6993
commit 9ae9a840be

View file

@ -927,8 +927,6 @@ def edit_portlist(request, pk):
if port_list.is_valid():
with transaction.atomic(), reversion.create_revision():
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")
return redirect("/machines/index_portlist/")
return form({'machineform' : port_list}, 'machines/machine.html', request)