skip to Main Content

Html – Form field not showing in tempate

after defining form field when I try to access in django template using {{form.Date_Joined}} not working class UserAdd(forms.ModelForm): class Meta: model=CompanyUsers fields= '__all__' exclude=['usrPsswd','usrId','usrCmpnyId','lstLogin','is_active','usrDOJ'] widgets={ 'Date_Joined':forms.DateInput(attrs={'type':'date'}), } The widget i've declare not showing <div class="order"> <!-- <div class="head" > -->…

VIEW QUESTION
Back To Top
Search