i am new to django and i want to make a simple form, according to the doc i can make a form using forms module from django
from django import forms class Cr
You're looking for a ChoiceField which renders as a select html element by default. https://docs.djangoproject.com/en/dev/ref/forms/fields/#choicefield
ChoiceField
select
class CronForm(forms.Form): days = forms.ChoiceField(choices=[(x, x) for x in range(1, 32)])