forked from 0x2620/pandora
fix default list view
This commit is contained in:
parent
5810efbc4a
commit
bb1f17e241
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class List(models.Model):
|
||||||
icon = models.ImageField(default=None, blank=True,
|
icon = models.ImageField(default=None, blank=True,
|
||||||
upload_to=lambda i, x: i.path("icon.jpg"))
|
upload_to=lambda i, x: i.path("icon.jpg"))
|
||||||
|
|
||||||
view = models.TextField(default=lambda: tuple(settings.CONFIG['user']['ui']['listView']))
|
view = models.TextField(default=lambda: settings.CONFIG['user']['ui']['listView'])
|
||||||
sort = TupleField(default=lambda: tuple(settings.CONFIG['user']['ui']['listSort']), editable=False)
|
sort = TupleField(default=lambda: tuple(settings.CONFIG['user']['ui']['listSort']), editable=False)
|
||||||
|
|
||||||
poster_frames = TupleField(default=[], editable=False)
|
poster_frames = TupleField(default=[], editable=False)
|
||||||
|
|
Loading…
Reference in a new issue