Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOneField.

This commit is contained in:
Henry Dang 2016-12-19 08:33:46 -05:00 committed by Tim Graham
parent 3e43d24ad3
commit 6af23a4521
6 changed files with 19 additions and 6 deletions

View file

@ -1059,7 +1059,7 @@ subclass::
slug (e.g. substituting dashes for spaces).
``prepopulated_fields`` doesn't accept ``DateTimeField``, ``ForeignKey``,
nor ``ManyToManyField`` fields.
``OneToOneField``, and ``ManyToManyField`` fields.
.. attribute:: ModelAdmin.preserve_filters