#35825: Document None return type for dateparse functions
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Type:
| Cleanup/optimization
Status: new | Component:
| Documentation
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
[https://docs.djangoproject.com/en/dev/ref/utils/#module-
django.utils.dateparse This documentation section] for functions in the
dateparse utils module does not cover that the contained functions can
return None when they fail to parse the given value (I think that applies
to all of them - worth checking). Let’s add that documentation and some
usage examples on the way. The examples would probably be best in Python
console code blocks.
--
Ticket URL: <https://code.djangoproject.com/ticket/35825>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701927290a6ea-9b0db80a-711f-4263-9139-bb0836192911-000000%40eu-central-1.amazonses.com.