﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28033	Allow passing choices as a callable in a model field	Ian Foote	Rémy Hubscher	Currently [https://docs.djangoproject.com/en/1.11/ref/models/fields/#choices Field.choices] requires a fixed iterable, but this is not flexible for choices that depend on information like the current date/time (eg I want the next five years) or a value from {{{settings.py}}} which might change between projects. Allowing a callable to be passed would allow the current choices to be generated on demand and would avoid causing spurious migrations when a setting is changed.	New feature	closed	Database layer (models, ORM)	dev	Normal	duplicate	choices		Accepted	1	0	0	0	0	0
