You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By doing so, the field author is not excluded. Indeed, due to this line, exclude is not None when passed to modelform_factory()here then form.Meta.exclude is overridden here.
What's the point of self.exclude = exclude or ()here?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! The original maintainer of this project is not longer actively working on it. I don't know enough of the project to be able to answer your question. If you think that's a bug, please feel free to open a PR, and run your changes against the unit tests.
Hi!
I have these models:
I want to make a formset to edit special books of a given author:
By doing so, the field
author
is not excluded. Indeed, due to this line,exclude
is notNone
when passed tomodelform_factory()
here thenform.Meta.exclude
is overridden here.What's the point of
self.exclude = exclude or ()
here?Thanks!
The text was updated successfully, but these errors were encountered: