8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00
This commit is contained in:
Gabriel Detraz 2018-01-30 06:17:47 +00:00 committed by root
parent 28741713da
commit d3b965a2e1

View file

@ -539,7 +539,7 @@ def edit_extension(request, extension_instance, extensionid):
extension.save()
reversion.set_user(request.user)
reversion.set_comment("Champs modifié(s) : %s" % ', '.join(field for field in extension.changed_data))
mssages.success(request, "Extension modifiée")
messages.success(request, "Extension modifiée")
return redirect(reverse('machines:index-extension'))
return form({'extensionform': extension}, 'machines/machine.html', request)