Comment (by François Freitag):
> 6. Update !ModelForm's `Meta.fields` to include "xyz"
This step leaves the `Meta.fields` modified, because the `Meta` is only
instantiated when the `ModelForm` class is constructed. Thus, on the next
request, "xyz" will still be part of the `Meta.fields`. In my use case,
the field was added conditionally, and was unexpectedly present in the
`Meta.fields` on the next request.
This might be a pitfall for others.
--
Ticket URL: <https://code.djangoproject.com/ticket/12238#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.