mirror of https://github.com/django/django.git
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:
parent
e1c6e987d0
commit
3d38e5d840
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue