django-refunds/authentication/views.py

8 lines
254 B
Python
Raw Normal View History

2016-06-04 12:40:57 +02:00
from django.shortcuts import render, redirect, get_object_or_404
from django.contrib import messages
def password_change_done(request):
2016-10-27 09:35:44 +02:00
messages.success(request, "Mot de passe modifié avec succès")
2016-06-04 12:40:57 +02:00
return render(request, 'refunds/home.html')