<filename>view_page/forms.py<gh_stars>0
from django.forms import ModelForm
from .models import Date_info
 
class Date_info_form(ModelForm):
    class Meta:
        model = Date_info
        fields = ['date']

<filename>view_page/forms.py<gh_stars>0
from django.forms import ModelForm
from .models import Date_info
 
class Date_info_form(ModelForm):
    class Meta:
        model = Date_info
        fields = ['date']
