return empty query

This commit is contained in:
j 2018-08-09 10:23:53 +01:00
parent d07a60ba5f
commit f818f962bc

View file

@ -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):