From b92734ade8ed40e106b477e292adce7121e51a24 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Fri, 25 Nov 2016 22:50:53 +0100 Subject: [PATCH] Permet le changement de chambre force --- users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/views.py b/users/views.py index fe52ec20..ff505326 100644 --- a/users/views.py +++ b/users/views.py @@ -125,7 +125,7 @@ def edit_info(request, userid): if not request.user.has_perms(('cableur',)): user = BaseInfoForm(request.POST or None, instance=user) else: - user = EditInfoForm(request.POST or None, instance=user) + user = InfoForm(request.POST or None, instance=user) if user.is_valid(): with transaction.atomic(), reversion.create_revision(): user.save()