changeset 9 | 38727da8a948 |
parent 8 | 294ff7ac9cb6 |
child 17 | 5c1e26fa0fc4 |
--- a/app/projrev/views/login.py Thu Aug 06 20:20:36 2009 +0530 +++ b/app/projrev/views/login.py Thu Aug 06 22:36:36 2009 +0530 @@ -78,11 +78,14 @@ """Resend the password if forgotten. """ + template = 'projrev/auth/forgot_password.html' if request.POST: - pass + context = { + 'password_sent': True, + } else: context = {} - template = 'projrev/auth/forgot_password.html' + return render_to_response(template, context)