瀏覽代碼

Fixed #20543 - Typo in db model fields docs.

Thanks i.amber.jain@ for the report.
Tim Graham 12 年之前
父節點
當前提交
f315693304
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/topics/db/models.txt

+ 1 - 1
docs/topics/db/models.txt

@@ -182,7 +182,7 @@ ones:
                 ('L', 'Large'),
             )
             name = models.CharField(max_length=60)
-            shirt_size = models.CharField(max_length=2, choices=SHIRT_SIZES)
+            shirt_size = models.CharField(max_length=1, choices=SHIRT_SIZES)
 
     ::