Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  2.  
  3. EMAIL_HOST = 'smtp.gmail.com'
  4. EMAIL_PORT = 587
  5. EMAIL_HOST_USER = 'user474@gmail.com'
  6. EMAIL_HOST_PASSWORD = '*********'
  7. EMAIL_USE_TLS = False
  8. DEFAULT_FROM_EMAIL = 'user474@gmail.com'
  9.  
  10. {% extends 'base.html' %}
  11.  
  12. {% block content %}
  13. <h3>Forgot password</h3>
  14. <form method="post">
  15. {% csrf_token %}
  16. {{ form.as_p }}
  17. <button type="submit">Submit</button>
  18. </form>
  19. {% endblock %}
  20.  
  21. {% autoescape off %}
  22. To initiate the password reset process for your {{ user.get_username }} TestSite Account,
  23. click the link below:
  24.  
  25. {{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
  26.  
  27. If clicking the link above doesn't work, please copy and paste the URL in a new browser
  28. window instead.
  29.  
  30. Sincerely,
  31. The Nuclear Team
  32. {% endautoescape %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement