Skip to content

Commit 9e80663

Browse files
author
Evan Carmi
committed
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
1 parent db394e6 commit 9e80663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/howto/legacy-databases.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ this generated model definition:
6161

6262
class Person(models.Model):
6363
id = models.IntegerField(primary_key=True)
64-
first_name = models.ChaField(max_length=70)
64+
first_name = models.CharField(max_length=70)
6565
class Meta:
6666
**managed = False**
6767
db_table = 'CENSUS_PERSONS'

0 commit comments

Comments
 (0)