Przeglądaj źródła

Merge pull request #1029 from carmi/patch-1

Fix CharField typo in legacy-databases.txt docs
Simon Charette 12 lat temu
rodzic
commit
909873060c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/howto/legacy-databases.txt

+ 1 - 1
docs/howto/legacy-databases.txt

@@ -61,7 +61,7 @@ this generated model definition:
 
       class Person(models.Model):
           id = models.IntegerField(primary_key=True)
-          first_name = models.ChaField(max_length=70)
+          first_name = models.CharField(max_length=70)
           class Meta:
 	       **managed = False**
 	       db_table = 'CENSUS_PERSONS'