Refs #16508 -- Made Model.__init__() aware of virtual fields.

It's no longer necessary for GenericForeignKey (and any other virtual fields)
to intercept the field's values using the pre_init signal.
This commit is contained in:
Michal Petrucha 2016-04-19 22:34:08 +02:00 committed by Tim Graham
parent 8a55982e70
commit 8a47ba679d
3 changed files with 9 additions and 22 deletions

View file

@ -400,6 +400,9 @@ Models
* A proxy model may now inherit multiple proxy models that share a common
non-abstract parent class.
* ``Model.__init__()`` now sets values of virtual fields from its keyword
arguments.
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~