You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
307 B

from django.db import models
from django.forms import ModelForm, DateField
from django.contrib.admin.widgets import AdminDateWidget
from .models import Project
class ProjectForm(ModelForm):
start = DateField(widget=AdminDateWidget)
class Meta:
model = Project
fields = '__all__'