load subtitles async
This commit is contained in:
parent
8fac4c558d
commit
a4ac2e03d4
3 changed files with 6 additions and 4 deletions
|
|
@ -132,7 +132,8 @@ attrs = {
|
|||
'volume': models.FloatField(default=0, null=True, db_index=True),
|
||||
|
||||
'sortvalue': models.CharField(max_length=1000, null=True, db_index=True),
|
||||
'findvalue': models.TextField(null=True),
|
||||
#run this CREATE INDEX clip_clip_findvalue_idx ON clip_clip USING gin (findvalue gin_trgm_ops);
|
||||
'findvalue': models.TextField(null=True, db_index=True),
|
||||
}
|
||||
for name in settings.CONFIG['clipLayers']:
|
||||
attrs[name] = models.BooleanField(default=False, db_index=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue