From 29859c191d61a0da8e28f04f5243565e2e82328d Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Tue, 24 May 2016 18:00:35 +0500 Subject: [PATCH] Call url correctly from password_reset_email.txt. In Jinja2 the url function is called differently. We can't give keyword arguments directly instead we need to pass them through kwargs argument. --- templates/registration/password_reset_email.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/registration/password_reset_email.txt b/templates/registration/password_reset_email.txt index c4cdcf288c..838b9c0a0c 100644 --- a/templates/registration/password_reset_email.txt +++ b/templates/registration/password_reset_email.txt @@ -1,7 +1,7 @@ Psst. Word on the street is that you forgot your password, {{ email}}. It's all good. Follow the link below and we'll take care of the rest: - <{{ protocol}}://{{ domain }}{{ url('django.contrib.auth.views.password_reset_confirm', uidb64=uid, token=token) }}> + <{{ protocol}}://{{ domain }}{{ url('django.contrib.auth.views.password_reset_confirm', kwargs=dict(uidb64=uid, token=token)) }}> Thanks, Your friends at Zulip HQ