-
Notifications
You must be signed in to change notification settings - Fork 291
Closed
Description
https://docs.djangoproject.com/en/dev/topics/forms/#looping-over-the-form-s-fields
In django forms, I use custom django template looping to output html the way that makes most sense. I usually do this by looping over the fields in the form, and within those fields, outputting the field.errors near the field and field.label_tag. It ouputs a
- .
If this isn't possible, please make a note of it in the docs. I just spent a couple hours trying to figure out why there was just a memory-location string being output :P
Also, looping over field.errors doesn't work either (probably the same issue).
Metadata
Metadata
Assignees
Labels
No labels