Commit 4039a912 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by Gabriel Detraz

Fix bug

parent 56e88cfe
......@@ -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)
......
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