Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango password reset. Not sending mail
    text
    copied!<p>I'm trying to get the django password reset working but the reset email does not get sent.</p> <p>I know my email is properly configured because the following works both in the shell and in one of my views (I'm using it to get support email to myself).</p> <pre><code>from django.core.mail import send_mail send_mail('Subject here', 'Here is the message.', 'admin@mydomain.com',['me@gmail.com'], fail_silently=False) </code></pre> <p>I can get to my reset password view (<strong>password/reset/</strong>) and after I give it my email it correctly redirects me to <strong>password/reset/done/</strong> but it doesn't sends the email.</p> <p>Here's my <code>urls.py</code>:</p> <pre><code>(r'^password/reset/$','django.contrib.auth.views.password_reset'), (r'^password/reset/done/$','django.contrib.auth.views.password_reset_done'), (r'^password/reset/confirm/$','django.contrib.auth.views.password_reset_confirm'), (r'^password/reset/complete/$','django.contrib.auth.views.password_reset_confirm'), (r'^password/change/$','django.contrib.auth.views.password_change'), (r'^password/change/done/$','django.contrib.auth.views.password_change_done'), </code></pre> <p>Here's my <code>password_reset_form.html</code>:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;link rel="stylesheet" type="text/css" href="/media/css/style_login.css" /&gt; &lt;title&gt;Información de acceso requerida&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="wrapper"&gt; &lt;h1&gt;Recuperar password&lt;/h1&gt; &lt;p&gt;Utilice este formulario cuando desee recuperar el password para su usuario.&lt;/p&gt; {% if form.errors %} &lt;p&gt;No hay un usuario registrado con ese correo electronico.&lt;/p&gt; {% endif %} &lt;form method="post" action="{% url django.contrib.auth.views.password_reset_done %}"&gt; {% csrf_token %} {{ form }} &lt;input class="login" type="submit" value="Recuperar" /&gt; &lt;/form&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p></p> <p>Any ideas? Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload