瀏覽代碼

Fixed #25202 -- Fixed typo in docs/topics/auth/customizing.txt

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

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

@@ -443,7 +443,7 @@ different User model.
         from django.db import models
 
         class Article(models.Model):
-            author = models.ForeignKey
+            author = models.ForeignKey(
                 settings.AUTH_USER_MODEL,
                 on_delete=models.CASCADE,
             )