Hi,
Let's say I have a field
flags = Bitfield(flags=( 'a', 'b'))
now i want to use this value from a queryset
is there a way to get the value in the queryset by doing something like this
m=model.objects.values('flags__a__is_set')
so that i get a value if the bitfield is set or not
because I found no way to do this anywhere so I want to know if this is supported or not?
Hi,
Let's say I have a field
flags = Bitfield(flags=( 'a', 'b'))now i want to use this value from a queryset
is there a way to get the value in the queryset by doing something like this
m=model.objects.values('flags__a__is_set')so that i get a value if the bitfield is set or not
because I found no way to do this anywhere so I want to know if this is supported or not?