瀏覽代碼

Used 'classmethod' annotation in docs/topics/auth/customizing.txt

Tim Graham 9 年之前
父節點
當前提交
5238af3257
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/topics/auth/customizing.txt

+ 3 - 3
docs/topics/auth/customizing.txt

@@ -721,10 +721,10 @@ utility methods:
 
 .. class:: models.BaseUserManager
 
-    .. method:: models.BaseUserManager.normalize_email(email)
+    .. classmethod:: models.BaseUserManager.normalize_email(email)
 
-        A ``classmethod`` that normalizes email addresses by lowercasing
-        the domain portion of the email address.
+        Normalizes email addresses by lowercasing the domain portion of the
+        email address.
 
     .. method:: models.BaseUserManager.get_by_natural_key(username)