I have a form:
class TimingForm(forms.ModelForm):
class Meta:
model = Timing
fields = ('day','mng_start', 'mng_end', 'eve_start', 'eve_end')
I am making formset out of this form .
TimingFormSet = modelformset_factory(Timing, form=TimingForm, extra=7)
Here in the 'day' field of form I want the days of the week i.e. sun, mon... sat. Also I want to set it as that user cannot edit this field. I was about to use readonly field but came to know that djano's readonly field is not appriciated.
How can I make this possible. Setting initial value and making it uneditable.