Explorar o código

Fixed #20543 - Typo in db model fields docs.

Thanks i.amber.jain@ for the report.
Tim Graham %!s(int64=12) %!d(string=hai) anos
pai
achega
f315693304
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 
     ::