jazzband / jsonmodels

jsonmodels is library to make it easier for you to deal with structures that are converted to, or read from JSON.
http://jsonmodels.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
335 stars 51 forks source link

fix bug with DateTimeField if that is None. #67

Closed kazemat closed 7 years ago

kazemat commented 8 years ago

If define model with DateTimeField and not fill then dateutil raise exception becose string is null

beregond commented 7 years ago

Hey @kazemat, sorry for no response so long. I'd like to add this patch, as you are right there is bug, just please try not to fix style and keep PEP8 requirements, otherwise this PR won't pass tests. :)

kazemat commented 7 years ago

@beregond. I removed this branch. I will close this PR and create new)