return empty query
This commit is contained in:
parent
d07a60ba5f
commit
f818f962bc
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class Edit(models.Model):
|
||||||
items = [i['id'] for i in self.get_items(user).values('id')]
|
items = [i['id'] for i in self.get_items(user).values('id')]
|
||||||
clips = clips.filter(item__in=items)
|
clips = clips.filter(item__in=items)
|
||||||
else:
|
else:
|
||||||
clips = None
|
clips = clip.models.Clip.objects.filter(id=None)
|
||||||
return clips
|
return clips
|
||||||
|
|
||||||
def get_clips_json(self, user=None):
|
def get_clips_json(self, user=None):
|
||||||
|
|
Loading…
Reference in a new issue