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
This commit is contained in:
Evan Carmi 2013-04-24 15:02:19 -03:00
parent db394e6ab2
commit 9e80663c95
1 changed files with 1 additions and 1 deletions

View File

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