Explorar el Código

Fixed #20543 - Typo in db model fields docs.

Thanks i.amber.jain@ for the report.
Tim Graham hace 12 años
padre
commit
f315693304
Se han modificado 1 ficheros con 1 adiciones y 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)
 
     ::