Django form & rendering data from model
问题 I am currently struggling with Django forms. Based on the tickets model I generate this formset where users can choose the qty of tickets they want. After they will be redirected to the checkout page. My problem is, when I use {{ form.ticket }} I get a select field but that's not what I'm looking for. I just want to print out the tickets as seen in the screenshot below. Can anyone help me on that? How it should be: How it currently looks like: views.py from django.forms import formset_factory