filter/sort
This commit is contained in:
parent
2f9e863aa3
commit
097d64a2ce
7 changed files with 78 additions and 19 deletions
|
|
@ -24,7 +24,7 @@ class Command(BaseCommand):
|
|||
|
||||
keys = [
|
||||
'id', 'title', 'director', 'summary', 'source', 'sourcedescription', 'date', 'location',
|
||||
'country', 'type',
|
||||
'country', 'type', 'year',
|
||||
'duration', 'featuring', 'cinematographer',
|
||||
'hue', 'saturation', 'lightness',
|
||||
'folder', 'folderdescription', 'rightslevel'
|
||||
|
|
@ -50,6 +50,7 @@ class Command(BaseCommand):
|
|||
folders[item['folder']] = {
|
||||
'title': item['folder'],
|
||||
'date': item.get('date', ''),
|
||||
'year': item.get('year', ''),
|
||||
'country': item.get('country', []),
|
||||
'featuring': item.get('featuring', []),
|
||||
'type': item['type'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue