Re: help with idea

2014-10-06 Thread carlos
Collin thank so much really help me! Cheers On Sat, Oct 4, 2014 at 11:09 AM, Collin Anderson wrote: > If you change how your dictionary is formatted, it can be much easier: > dicc_one = { > 'string1': {'fieldsFK__total_one__gt': 0}, > 'string2': {'fieldsFK__total_two__gt': 0}, > 'st

Re: help with idea

2014-10-04 Thread Collin Anderson
If you change how your dictionary is formatted, it can be much easier: dicc_one = { 'string1': {'fieldsFK__total_one__gt': 0}, 'string2': {'fieldsFK__total_two__gt': 0}, 'string3': {'fieldsFK__total_three__gt': 0}, 'string4': {'fieldsFK__total_four__gt': 0}, } results = {} for k, v

help with idea

2014-10-03 Thread carlos
Hi i need have this in my views! but not working dicc_one = {'string1': 'fieldsFK__total_one__gt=0', 'string2': 'fieldsFK__total_two__gt=0', 'string3': 'fieldsFK__total_three__gt=0', 'string4': 'fieldsFK__total_four__gt=0', } r