don't pass user as keys
This commit is contained in:
parent
dc0132a913
commit
503ae10e89
2 changed files with 2 additions and 2 deletions
|
|
@ -257,7 +257,7 @@ class Edit(models.Model):
|
|||
def get_clips_json(self, user=None):
|
||||
qs = self.get_clips(user)
|
||||
if self.type == 'static':
|
||||
clips = [c.json(user) for c in qs.order_by('index')]
|
||||
clips = [c.json(user=user) for c in qs.order_by('index')]
|
||||
else:
|
||||
if qs is None:
|
||||
clips = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue