django/django — pull request #1228 by zyegfryed (2013-05-27 15:02:59+00:00)
Title: Fixed #2445: Allow callable values for limit_choices_to.

Introduces the Model.choices_for_FOO method allowing to extend the limit_choices_to option.