I've got data that looks like this from a query {'status': u'E', 'env__count': 15, 'env': u'dev'} {'status': u'H', 'env__count': 31, 'env': u'dev'} {'status': u'I', 'env__count': 164, 'env': u'dev'} {'status': u'N', 'env__count': 149, 'env': u'dev'} {'status': u'I', 'env__count': 17, 'env': u'dr'} {'status': u'H', 'env__count': 2, 'env': u'prod'} {'status': u'I', 'env__count': 34, 'env': u'prod'} {'status': u'E', 'env__count': 2, 'env': u'qa'} {'status': u'H', 'env__count': 1, 'env': u'qa'} {'status': u'I', 'env__count': 63, 'env': u'qa'} {'status': u'N', 'env__count': 5, 'env': u'qa'} {'status': u'E', 'env__count': 1, 'env': u'stage'} {'status': u'H', 'env__count': 4, 'env': u'stage'} {'status': u'I', 'env__count': 59, 'env': u'stage'} {'status': u'N', 'env__count': 2, 'env': u'stage'} {'status': u'E', 'env__count': 8, 'env': u'xxx'} {'status': u'H', 'env__count': 1, 'env': u'xxx'} {'status': u'I', 'env__count': 38, 'env': u'xxx'} {'status': u'N', 'env__count': 3, 'env': u'xxx'}
is there anyway to make a cross-tab output in a template? My only solution right now is to pass in several dictionaries with each of the status's and their counts. Other ideas would help. Thanks John -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.