fix meta keys
This commit is contained in:
parent
8a2d34b1c5
commit
a5802eb077
1 changed files with 10 additions and 2 deletions
|
@ -243,8 +243,16 @@ class Item(db.Model):
|
||||||
state.db.session.commit()
|
state.db.session.commit()
|
||||||
|
|
||||||
meta_keys = (
|
meta_keys = (
|
||||||
'title', 'author', 'date', 'publisher', 'edition',
|
'author',
|
||||||
'language', 'description', 'classification'
|
'classification',
|
||||||
|
'date',
|
||||||
|
'description',
|
||||||
|
'edition',
|
||||||
|
'language',
|
||||||
|
'pages',
|
||||||
|
'place',
|
||||||
|
'publisher',
|
||||||
|
'title'
|
||||||
)
|
)
|
||||||
|
|
||||||
def update_meta(self, data):
|
def update_meta(self, data):
|
||||||
|
|
Loading…
Reference in a new issue