#27613: BaseInlineFormSet is validating form for extra forms ----------------------------+-------------------------------------- Reporter: Sonu kumar | Owner: nobody Type: Bug | Status: new Component: Forms | Version: 1.10 Severity: Normal | Resolution: Keywords: FormSet | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+--------------------------------------
Comment (by Sonu kumar): Hi Tim, I have found root caused this is happen only when you add following code snippet to Explanation model. {{{ past_explanation = models.ForeignKey('self', on_delete=models.CASCADE, db_constraint=False, blank=True, default=-1, null=True) }}} I think this is a bug since, from the model and admin configuration we can see that user should be able to add Question without any explanation, but it's not allowing to do so. You can find code at GitHub repo https://github.com/sonus21/Django_Bug -- Ticket URL: <https://code.djangoproject.com/ticket/27613#comment:2> 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.67b8070ddcbb9841a8b32a8c364276cd%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.