From f818f962bc6a26bdab43d9e35baa401545f3c209 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 9 Aug 2018 10:23:53 +0100 Subject: [PATCH] return empty query --- pandora/edit/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/edit/models.py b/pandora/edit/models.py index 69b7bb37..554ae068 100644 --- a/pandora/edit/models.py +++ b/pandora/edit/models.py @@ -251,7 +251,7 @@ class Edit(models.Model): items = [i['id'] for i in self.get_items(user).values('id')] clips = clips.filter(item__in=items) else: - clips = None + clips = clip.models.Clip.objects.filter(id=None) return clips def get_clips_json(self, user=None):