store classification without primary id
This commit is contained in:
parent
b67a1d354b
commit
b7bdd9da7a
1 changed files with 4 additions and 1 deletions
|
@ -239,7 +239,10 @@ class Item(db.Model):
|
||||||
if commit:
|
if commit:
|
||||||
state.db.session.commit()
|
state.db.session.commit()
|
||||||
|
|
||||||
meta_keys = ('title', 'author', 'date', 'publisher', 'edition', 'language', 'description')
|
meta_keys = (
|
||||||
|
'title', 'author', 'date', 'publisher', 'edition',
|
||||||
|
'language', 'description', 'classification'
|
||||||
|
)
|
||||||
|
|
||||||
def update_meta(self, data):
|
def update_meta(self, data):
|
||||||
update = False
|
update = False
|
||||||
|
|
Loading…
Reference in a new issue