django/django — pull request #3427 by inglesp (2014-10-27 20:23:32+00:00)
Title: Let ChoiceField.__init__ take callable choices

The code comes from https://code.djangoproject.com/attachment/ticket/13181/with_callable_choice_iterator.diff by vanschelven.

This addresses https://code.djangoproject.com/ticket/13181.