I know to make a numerous checkbox in the frame in the event that I have the rundown of things python.
forms.py
class GatewayForm(forms.Form):
GATEWAY_CHOICES = (
('Instamojo', 'Instamojo'),
('CCAvenue', 'CCAvenue'),
('ePaisa', 'ePaisa'))
gateway_name = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple, choices=GATEWAY_CHOICES)
template.html
I utilize a for a circle to show the gateway_names.
Presently how might I accomplish a similar when there is just a single thing in the rundown?
GATEWAY_CHOICES = (
('Instamojo', 'Instamojo'),
What frame field or gadget would it be a good idea for me to utilize?
برچسب:
نویسنده: آیلین رضوانی
تاريخ: يکشنبه
3 دی
1396 ساعت: 15:57