store classification without primary id

This commit is contained in:
j 2016-01-03 23:33:19 +05:30
parent b67a1d354b
commit b7bdd9da7a
1 changed files with 4 additions and 1 deletions

View File

@ -239,7 +239,10 @@ class Item(db.Model):
if 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):
update = False