Fixed #3223 -- Fixed typo in model API docs. Thanks, David van Mosselbeen.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2007-01-03 14:29:21 +00:00
parent e1c6e987d0
commit 3d38e5d840
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ Django places only two restrictions on model field names:
the way Django's query lookup syntax works. For example:: the way Django's query lookup syntax works. For example::
class Example(models.Model): class Example(models.Model):
foo__bar = models.IntegerField() 'foo__bar' has two underscores! foo__bar = models.IntegerField() # 'foo__bar' has two underscores!
These limitations can be worked around, though, because your field name doesn't These limitations can be worked around, though, because your field name doesn't
necessarily have to match your database column name. See `db_column`_ below. necessarily have to match your database column name. See `db_column`_ below.