#17557: Refactor form CBV to remove some unnecessary complexity --------------------------------------+------------------------- Reporter: tswicegood | Owner: nobody Type: Cleanup/optimization | Status: new Component: Generic views | Version: 1.4-alpha-1 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------- While creating a CBV to work with inline formsets, I ran into a few places where copy-n-paste was the only way to adjust the behavior that I was after and keep the same feel of the internal Django CBV. This refactor removes the need to copy-n-paste out of `get` in order to add additional data by moving the generation of the `form` context data into `get_context_data`.
-- Ticket URL: <https://code.djangoproject.com/ticket/17557> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.