#5828: Changeset 6613 seems to have broken edit inline
--------------------------------------------------+-------------------------
Reporter: Øyvind Saltvik <[EMAIL PROTECTED]> | Owner:
nobody
Status: new | Component:
Admin interface
Version: newforms-admin | Resolution:
Keywords: | Stage:
Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------------------+-------------------------
Comment (by Karen Tracey <[EMAIL PROTECTED]>):
Yes, adding False to that list of "empty" values does fix the problem, in
that the extra empty edit-inline items are not flagged as invalid. I just
don't know if there are any other field types that might return False
where False is not equivalent to "not specified". If there are, then the
fix would make is_empty potentially start returning True for forms that
are not entirely empty. Perhaps not likely (you'd need a form whose only
specified field was this hypothetical set-to-False one)...but given my
unfamiliarity with forms and fields it seems possible. Or maybe I'm just
imagining the potential problem....
--
Ticket URL: <http://code.djangoproject.com/ticket/5828#comment:3>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---