django-refunds/authentication/views.py

8 lines
249 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):
messages.success(request, "Password changed successfully")
return render(request, 'refunds/home.html')