From 4039a9125b29c5d619a43b9d2e25021487006d3c Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Tue, 30 Jan 2018 06:17:47 +0000 Subject: [PATCH] Fix bug --- machines/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/views.py b/machines/views.py index dccdfae7..9b766779 100644 --- a/machines/views.py +++ b/machines/views.py @@ -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)