Skip to content

can't have an empty field #7

@Josh-Woodcock

Description

@Josh-Woodcock

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)"]

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions