forked from 0x2620/pandora
allow larger smart edits for now(1000)
This commit is contained in:
parent
5271731a77
commit
ec946213e7
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class Edit(models.Model):
|
||||||
if self.type == 'static':
|
if self.type == 'static':
|
||||||
clips = [c.json(user) for c in qs.order_by('index')]
|
clips = [c.json(user) for c in qs.order_by('index')]
|
||||||
else:
|
else:
|
||||||
if qs.count() <= 100:
|
if qs.count() <= 1000:
|
||||||
clips = [c.edit_json(user) for c in qs]
|
clips = [c.edit_json(user) for c in qs]
|
||||||
index = 0
|
index = 0
|
||||||
for c in clips:
|
for c in clips:
|
||||||
|
|
Loading…
Reference in a new issue