diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2016-08-18 12:45:27 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-23 16:06:41 -0400 |
| commit | 4073780219258eec2d3c5f7b84f4f0a3c3cc6515 (patch) | |
| tree | c315ce04c4151e54e386a17fdc10dd0cdfcf1a1a /docs/ref | |
| parent | ae0f55eb491255217d6df31296ec8102007224a6 (diff) | |
[1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
This partially reverts 983c158da7723eb00a376bd31db76709da4d0260
Backport of 384f89f8f843953ac11cf211f85291b5c14baeb9 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 03bdba97db..fce22689fe 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -302,7 +302,7 @@ with the admin site: ``fields``. * **admin.E012**: There are duplicate field(s) in ``fieldsets[n][1]``. * **admin.E013**: ``fields[n]/fieldsets[n][m]`` cannot include the - many-to-many field ``<field name>``, because that field manually specifies a + ``ManyToManyField`` ``<field name>``, because that field manually specifies a relationship model. * **admin.E014**: The value of ``exclude`` must be a list or tuple. * **admin.E015**: The value of ``exclude`` contains duplicate field(s). @@ -326,8 +326,8 @@ with the admin site: * **admin.E027**: The value of ``prepopulated_fields`` refers to ``<field name>``, which is not an attribute of ``<model>``. * **admin.E028**: The value of ``prepopulated_fields`` refers to - ``<field name>``, which must not be a ``DateTimeField``, a foreign key or a - many-to-many field. + ``<field name>``, which must not be a ``DateTimeField``, a ``ForeignKey``, or a + ``ManyToManyField`` field. * **admin.E029**: The value of ``prepopulated_fields[<field name>]`` must be a list or tuple. * **admin.E030**: The value of ``prepopulated_fields`` refers to @@ -361,7 +361,7 @@ with the admin site: which is not a callable, an attribute of ``<ModelAdmin class>``, or an attribute or method on ``<model>``. * **admin.E109**: The value of ``list_display[n]`` must not be a - many-to-many field. + ``ManyToManyField`` field. * **admin.E110**: The value of ``list_display_links`` must be a list, a tuple, or ``None``. * **admin.E111**: The value of ``list_display_links[n]`` refers to ``<label>``, |
