Browse Source

Fix CharField typo in legacy-databases.txt docs

The example Person model in the legacy databases HowTo had a typo referring to ChaField instead of Charfield
Evan Carmi 12 years ago
parent
commit
9e80663c95
1 changed files with 1 additions and 1 deletions
  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'