forked from DGNum/gestioCOF
Fix profile edition view
- Fix a typo. - Bump version of django-bootstrap-form to be comaptible with Django 1.11.
This commit is contained in:
parent
f8361b9114
commit
0235c4f7e8
2 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ def profile(request):
|
|||
if form.is_valid():
|
||||
form.save()
|
||||
messages.success(request,
|
||||
"Votre profil a été mis à jour avec succès !")
|
||||
"Votre profil a été mis à jour avec succès !")
|
||||
else:
|
||||
form = UserProfileForm(instance=request.user.profile)
|
||||
return render(request, "gestioncof/profile.html", {"form": form})
|
||||
|
|
|
@ -11,7 +11,7 @@ psycopg2
|
|||
Pillow
|
||||
six
|
||||
unicodecsv
|
||||
django-bootstrap-form==3.2.1
|
||||
django-bootstrap-form==3.3
|
||||
asgiref==1.1.1
|
||||
daphne==1.3.0
|
||||
asgi-redis==1.3.0
|
||||
|
|
Loading…
Reference in a new issue