We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composite fields not listed in the form.visible_fields and hidden_fields
Django suggest the form rendering customization by looping over form.hidden_field and form.visible_fields in the template - https://docs.djangoproject.com/ja/1.9/topics/forms/#looping-over-hidden-and-visible-fields. But the bound composite fields is not returned.
form.hidden_field
form.visible_fields
It seems it could be fixed but overriding __iter__ method
__iter__
def __iter__(self): for name in self.fields: yield self[name] for name in self.composite_fields: yield self[name]
The text was updated successfully, but these errors were encountered:
Fix iteration over form fields, Close jazzband#15
9512c92
Successfully merging a pull request may close this issue.
Composite fields not listed in the form.visible_fields and hidden_fields
Django suggest the form rendering customization by looping over
form.hidden_field
andform.visible_fields
in the template - https://docs.djangoproject.com/ja/1.9/topics/forms/#looping-over-hidden-and-visible-fields. But the bound composite fields is not returned.It seems it could be fixed but overriding
__iter__
methodThe text was updated successfully, but these errors were encountered: