ChoiceField comparison not working in template

Is the block of text that you have labeled an “HTML component” being rendered as a Django template by Django?

If so, look at your actual HTML that exists in your browser that was retrieved from the view that renders it.