On Mon, Mar 4, 2013 at 12:01 PM, Bill Freeman <[email protected]> wrote:
> Are you saying that you need control over which of an item's attributes > are shown and which are not and/or the order in which attributes are shown, > or are you saying that the way python/django converts the attributes to > strings does not meet your requirements, or both? > > Your approach can certainly handle both, provided those who will be > maintaining it will have no trouble understanding it. > I am making a generic view for showing a list of objects of the same kind, the view takes the list of objects and a tuple with the attributes to be shown. Python/django fits my requirements but I am looking the most efficient way to do it. The inner loop is expensive. Regards -- Serge G. Spaolonzi Cobalys Systems http://www.cobalys.com -- You received this message because you are subscribed to the Google Groups "Django users" 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]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

