Ah, you're right. I must have missed that. Thanks very much!
On Tuesday, April 4, 2017 at 7:45:43 PM UTC-7, Tim Graham wrote:
>
> It looks like that's covered here:
>
>
> https://docs.djangoproject.com/en/1.11/releases/1.11/#changes-due-to-the-introduction-of-template-based-widget-rendering
>
>
It looks like that's covered here:
https://docs.djangoproject.com/en/1.11/releases/1.11/#changes-due-to-the-introduction-of-template-based-widget-rendering
choice_value is an attribute of ChoiceInput which was undocumented and
removed.
On Tuesday, April 4, 2017 at 7:33:18 PM UTC-4, Rodney Folz
Hi all, congrats on the 1.11 release!
Prior to Django 1.11's form template rendering, I had a form template that
rendered choices like so:
```
{% for choice in form.field_with_choices %} # forms.ChoiceField()
{% if choice.choice_value is Value %}
```
Not the prettiest, but it's
3 matches
Mail list logo