#24888: A charfield with options shows with short tags in stead of verbose name in a modelform -------------------------------+-------------------------------------- Reporter: wimfeijen | Owner: nobody Type: Uncategorized | Status: closed Component: Forms | Version: 1.8 Severity: Normal | Resolution: worksforme Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by timgraham):
* status: new => closed * needs_better_patch: => 0 * resolution: => worksforme * needs_tests: => 0 * needs_docs: => 0 Comment: Here's the HTML I get with the code your provided (using `return render(request, 'form.html', {'form': RoomForm()})` as the view and `{{ form }}` in the template): {{{ <tr><th><label for="id_furnishing_0">Furnishing:</label></th><td><ul id="id_furnishing"><li><label for="id_furnishing_0"><input id="id_furnishing_0" name="furnishing" type="radio" value="yes" /> Furnished</label></li> <li><label for="id_furnishing_1"><input checked="checked" id="id_furnishing_1" name="furnishing" type="radio" value="no" /> Unfurnished</label></li> <li><label for="id_furnishing_2"><input id="id_furnishing_2" name="furnishing" type="radio" value="bare" /> Bare</label></li></ul></td></tr> }}} This seems to be the expected result. Please reopen if you can provide more specific steps to reproduce. -- Ticket URL: <https://code.djangoproject.com/ticket/24888#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.ada50dc8cca04c8c3558fa55d7fa14da%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.