django_partial_date
django_partial_date copied to clipboard
Django custom model field for partial dates with the form YYYY, YYYY-MM, YYYY-MM-DD
How to reproduce: Make sure you have enabled the custom module in your Python virtual environment: ``` pip install django-partial-date==1.3.2 django-reversion==5.0.4 ``` Create the following class in the django models.py:...
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...
I think we need a PartialDateField in forms because of PartialDateField for models exist.
When using `PartialDate` objects having different precision to define a (partial) date range, the dates are always computed from the 1st of the (month/year) of either `PartialDate` object, which is...