store classification without primary id

This commit is contained in:
j 2016-01-03 23:33:19 +05:30
parent b67a1d354b
commit b7bdd9da7a

View file

@ -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