#24445: DurationField with default='1 00:00' triggers validation on otherwise
empty
inline formsets
-------------------------------+--------------------
Reporter: yoyoma | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
When I reported #24391 I should have had the sense to check
{{{DurationField}}}, but I didn't. Note, this isn't caused by a callable
{{{default}}} argument, rather a string.
My initial thought is that this has something to do with the conversion
process of a given string value into a {{{timedelta}}}, etc., but I
haven't had a chance to really dig in, yet. I just barely finished work
and I have to run a bunch of errands, or I'd dive straight into the code.
However, I wanted to at least get the bug report in here right away.
--
Ticket URL: <https://code.djangoproject.com/ticket/24445>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.d1aa0f605011b4bb64d0b46ea78d4266%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.