Broken example code -- hidden fields won't show if there aren't visible fields.
|Reported by:||anonymous||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
See https://docs.djangoproject.com/en/dev/topics/forms/#looping-over-hidden-and-visible-fields. The solution would be to put the for loop for hidden fields outside of the for loop for visible fields. This is a bug since 1.1 documentation.
Change History (3)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|