mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/views.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
c49acc64f9
commit
e99d27c127
|
@ -31,7 +31,7 @@ class UserUpdateView(LoginRequiredMixin, UpdateView):
|
|||
|
||||
def form_valid(self, form):
|
||||
form.save()
|
||||
messages.add_message(self.request, messages.INFO, _("Infos succefully updated"))
|
||||
messages.add_message(self.request, messages.INFO, _("Infos successfully updated"))
|
||||
return super(UserUpdateView, self).form_valid(form)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user