#22795: Iterating all object fields in template
----------------------------------------------+--------------------
Reporter: anonymous | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Database layer (models, ORM) | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
Currently in order to iterate all object fields in template you have to
write your own function in the model which will return the model fields.
There should be something general that will allow to iterate over all
model fields with no need to write a specific function in each model
--
Ticket URL: <https://code.djangoproject.com/ticket/22795>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.6f0f5ffeaadae0491268a0034f32925b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.