Hi all, In Select widgets, as well as many other (including MultipleHiddenInput, where it's not used) rendering methods all have a choices=() kwarg and use a chain(self.choices, choices) when rendering.
Maybe I'm missing something, but it seems like this has just been sitting there since 2006 and all the sensible use cases for this have disappeared: why would anyone do the effort of adding a widget-specific override in Form.as_widget to add choices to rendering that won't even validate ? Can we engage deprecation on the choices argument in render methods and rely on self.choices only or am I missing something ? If so, do you know if any work on this has been started ? Best James -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CALC3KacRiBEF3_0otH1jVw3Hg08SeyzberBv0p3bPWge4oTEAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
