Opened 10 years ago

Closed 10 years ago

#22795 closed Cleanup/optimization (wontfix)

Iterating all object fields in template

Reported by: anonymous Owned by: nobody
Component: Database layer (models, ORM) Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (1)

comment:1 by Tim Graham, 10 years ago

Resolution: wontfix
Status: newclosed

I suspect exact needs will be project specific so it's not something that needs to live in core.

Note: See TracTickets for help on using tickets.
Back to Top