|
|
@ -749,6 +749,7 @@ def edit_book(book_id):
|
|
|
|
|
|
|
|
|
|
|
|
@app.route("/upload", methods = ["GET", "POST"])
|
|
|
|
@app.route("/upload", methods = ["GET", "POST"])
|
|
|
|
@login_required
|
|
|
|
@login_required
|
|
|
|
|
|
|
|
@admin_required
|
|
|
|
def upload():
|
|
|
|
def upload():
|
|
|
|
## create the function for sorting...
|
|
|
|
## create the function for sorting...
|
|
|
|
db.session.connection().connection.connection.create_function("title_sort",1,db.title_sort)
|
|
|
|
db.session.connection().connection.connection.create_function("title_sort",1,db.title_sort)
|
|
|
|