Commit 602d183f authored by Mario Chirinos's avatar Mario Chirinos

satus with key

parent f32ec608
......@@ -141,7 +141,7 @@ def status(request):
myQuery = ~Q()
apiuser = Apikey.objects.get(key=request.GET["key"]).user
myQuery&= Q(publisher_id__in=[ r.id for r in apiuser.profile.subscriptions.all()])
myQuery&= Q(id__in=[ r.id for r in apiuser.profile.subscriptions.all()])
tPublishers = Publisher.objects.filter(myQuery)
tdic = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment