1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

@ -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'