#8898: `required` validation bypassed when using `DateTimeField` with `SplitDateTimeWidget`. -------------------------------------+------------------------------------- Reporter: mrmachine | Owner: nobody Type: Bug | Status: new Component: Forms | Version: master Severity: Normal | Resolution: Keywords: DateTimeField | Triage Stage: Accepted SplitDateTimeWidget | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by claudep): It may be that #15511 filled the above use case (setting `require_all_fields` to `False`, then `SplitDateTimeField.fields[1].required` to `False` in a `SplitDateTimeField` subclass). @mrmachine, can you confirm? -- Ticket URL: <https://code.djangoproject.com/ticket/8898#comment:28> 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/067.7be2ce67a8878648487592eb38e6b158%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.