I have a field which will represent the start time of an event and I am using the Django DateTimeField for this. This field is mandatory but sometimes the users will only know the start date and not the time. Is there anyway to make the time part optional and keep the date part mandatory?
Maybe you should try to separate date from time. There are DateField and TimeField for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With