On Tue, Apr 16, 2013 at 1:39 PM, Shabda Raaj wrote:
> I am trying to get a field in a queryset which depends on the result
> of the annotations. I tried using extra on an annotated queryset,
> which doesn't seem to work.
>
Does something like this work?
I am trying to get a field in a queryset which depends on the result
of the annotations. I tried using extra on an annotated queryset,
which doesn't seem to work.
Lets say my models looks like this:
class Foo(models.Model):
name = models.CharField(...)
class
2 matches
Mail list logo