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:
parent
db394e6ab2
commit
9e80663c95
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue