#27613: BaseInlineFormSet is validating form for extra forms ----------------------------+-------------------------------------- Reporter: Sonu kumar | Owner: nobody Type: Bug | Status: closed Component: Forms | Version: 1.10 Severity: Normal | Resolution: invalid Keywords: FormSet | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+-------------------------------------- Changes (by Tim Graham):
* status: new => closed * resolution: => invalid Comment: The foreign key widget would need to send "-1" on a form submission so that the field [https://github.com/django/django/blob/af5983e4f5e8e9737bc6c7c38221b3e7c9914d1a/django/forms/fields.py#L186-L205 doesn't appear to change]. Since the field appears to change, Django validates the form. You'll likely need to use a custom widget or a different method to accomplish your use case. I don't think it's a bug in Django, but if you want to propose some change that fixes the issue for you, feel free to reopen with a patch. -- Ticket URL: <https://code.djangoproject.com/ticket/27613#comment:5> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.fe40befbba3c9479d1e9ce2fbafd3439%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.