1
0
mirror of https://github.com/django/django.git synced 2025-04-01 03:56:42 +00:00
Jon Dufresne 8641489f4d [1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.

Thanks Tim Graham for the review.

Backport of a1be12fe193c8f3de8a0b0820f460a302472375f from master
2017-06-30 21:28:47 -04:00
..
2015-02-20 09:21:39 -05:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2015-01-02 19:20:18 -05:00
2015-02-20 09:21:39 -05:00
2016-08-09 18:46:28 +02:00
2015-02-20 09:21:39 -05:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2015-01-02 19:20:18 -05:00
2014-12-19 18:07:52 +01:00
2015-02-20 09:21:39 -05:00
2015-01-02 19:20:18 -05:00
2015-02-20 09:21:39 -05:00
2015-01-27 11:48:04 -05:00
2015-05-01 16:24:39 -04:00
2015-05-20 13:48:06 -04:00
2015-10-03 19:31:45 -04:00
2015-11-04 17:48:49 +01:00
2016-05-02 18:16:36 -04:00
2016-06-04 19:24:51 -04:00
2016-09-01 16:24:46 -04:00
2017-01-04 13:20:01 -05:00