I am working on a project that has start and end date fields. Ideally the end date field would be optional.
However PartialDate won't accept an empty string, or None despite what it says in the documentation; or null=True.
These are the kind of errors I have received -
["'' is not a valid date string (YYYY, YYYY-MM, YYYY-MM-DD)"]

I am working on a project that has start and end date fields. Ideally the end date field would be optional.
However PartialDate won't accept an empty string, or None despite what it says in the documentation; or null=True.
These are the kind of errors I have received -
["'' is not a valid date string (YYYY, YYYY-MM, YYYY-MM-DD)"]