How to make radio button in django this is what i did but its not working
this is in forms.py from django import forms class medical_reports(forms.ModeIForm): # Healthy & Unhealthy Habits # Exercise Exercise.choice ; I ('Never '), ('1 - 2 days'), ('3 - 4 days'), ('5 + days'), Exercise ; forms.ChoiceField(choices; Exercise.choice, widget ;forms .RadioSelect) # Eating following a diet Eating_choices ; I ('l have a loose diet '), ('l have a strict diet '), ('l dont have a diet plan '), Eating ; forms.ChoiceField(choices;Eating_choices, widget ;forms .RadioSelect) # Alcohol Consumption Drink.choices ; I ('l dont drink '), ('1-2 glasses/day '), ('3-4 glasses/day '), ('5+ glasses/day '), Drink ; forms.ChoiceField(choices; Drm k.choices, widget ;forms .RadioSelect) ----------- this is in models.py # for Exercise in form.py Exercise = models.CharField(max_length=100) # for Eating in form.py Eating = models.CharField(max_length=100) # for Drink in form.py Drink = models.CharField(max_lengt