8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00
This commit is contained in:
Gabriel Detraz 2018-01-30 06:17:47 +00:00 committed by root
parent 56e88cfe97
commit 4039a9125b

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)