|
|
@ -66,6 +66,10 @@ class LikeRelation(db.Model): |
|
|
|
if __name__ == "__main__": |
|
|
|
db.create_all() |
|
|
|
|
|
|
|
@app.route('/pastExam/img/<path:path>') |
|
|
|
def send_img(path): |
|
|
|
return send_from_directory('static/img', path) |
|
|
|
|
|
|
|
def login_required(allow_guest=True): |
|
|
|
def login_required_instance(f): |
|
|
|
@wraps(f) |
|
|
|