浏览代码

Fixed #18270 -- Corrected variable name in password reset example.

Thanks schnippi for the report.
Claude Paroz 13 年之前
父节点
当前提交
ec5423df05
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/topics/auth.txt

+ 1 - 1
docs/topics/auth.txt

@@ -1242,7 +1242,7 @@ includes a few other useful built-in views located in
     .. code-block:: html+django
 
         Someone asked for password reset for email {{ email }}. Follow the link below:
-        {{ protocol}}://{{ site_name }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
+        {{ protocol}}://{{ domain }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
 
     The same template context is used for subject template. Subject must be
     single line plain text string.