so, you can maybe show you models structure here?
also, if it is a ForeignKey, why you trying to filter qs by string values?
I mean Q(name = 'ACTIVE')
it's shouldn't work
On Sunday, August 6, 2017 at 5:22:21 AM UTC+3, Arun S wrote:
> Yes, name is a foreign key here.
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 post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.