1👍
✅
Not sure what line you getting the error in without a full traceback. If you print choice
.. what do you get? I would generate choice
like this:
service_choice = tuple(
[(choice, choice) for choice in
ServiceList.objects.values_list('service_name', flat=True)])
Source:stackexchange.com