Reload choices dynamically when using MultipleChoiceFilter
问题 I am trying to construct a MultipleChoiceFilter where the choices are the set of possible dates that exist on a related model ( DatedResource ). Here is what I am working with so far... resource_date = filters.MultipleChoiceFilter( field_name='dated_resource__date', choices=[ (d, d.strftime('%Y-%m-%d')) for d in sorted(resource_models.DatedResource.objects.all().values_list('date', flat=True).distinct()) ], label="Resource Date" ) When this is displayed in a html view... This works fine at