custom columns unfinished

This commit is contained in:
Cervinko Cera
2016-04-17 18:03:47 +02:00
parent 6c40bfdd08
commit 0ee46e4b5e
3 changed files with 64 additions and 0 deletions

View File

@ -199,3 +199,9 @@ def update_dir_stucture(book_id):
os.renames(path, new_author_path)
book.path = new_authordir + "/" + book.path.split("/")[1]
db.session.commit()
def get_custom_columns(id):
cc = db.session.query(db.Custom_Columns).all()
for c in cc:
print c.name