add protocol version, reset migrations, move db
This commit is contained in:
parent
e14c686dac
commit
046af0e777
32 changed files with 424 additions and 907 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
def get_classification(id):
|
||||
name = u'%s' % id
|
||||
base = str(int(id.split('/')[0].split('.')[0]))
|
||||
base = ''.join([s for s in id.split('/')[0].split('.')[0] if s.isdigit()])
|
||||
if base in DEWEY:
|
||||
name = u'%s %s' % (name, DEWEY[base].decode('utf-8'))
|
||||
return name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue