-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't have an empty field #7
Comments
Empty string should not be valid. For empty dates |
Tried again but still get an error, reproduced below with identifiying information taken out. It appears the error lies in the pareDate function when it receives a blank field.
The field is written as ->
If it makes any difference we are using Wagtail not pure Django. |
Please make sure that your forms or any other interface to the useris properly converting the "empty user input" to |
I encounter the same thing and this is default Django admin page, I have to add |
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)"]
The text was updated successfully, but these errors were encountered: