#18872: Add prefix attribute to FormMixin
----------------------------------+------------------------------------
Reporter: dragonsnaker@… | Owner: zsiciarz
Type: New feature | Status: assigned
Component: Generic views | Version: master
Severity: Normal | Resolution:
Keywords: FormMixin prefix | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by druidjaidan):
Have to agree. There are lots of reasons you might need to use a prefix
that don't involve processing more than one form. I ran into this because
we had a form on the page that acted as a context switcher, changing it's
value caused the form to be processed, changed a session value, and
reloaded the page given the new context. This caused an id collision
anytime the user was on a page that happened to have a form that had the
same field name (really common considering the context was a FK).
--
Ticket URL: <https://code.djangoproject.com/ticket/18872#comment:13>
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.