From a51ae34ef5b0b44e53094577c581ac8a20279936 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Mon, 13 Jul 2020 18:56:13 +0530 Subject: renamed dock to Dock --- app/__init__.py | 1 + app/views.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/__init__.py b/app/__init__.py index 8c32ef4..7c47fd8 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -13,6 +13,7 @@ DB_NAME = 'curie' SECRET_KEY = 'Sup3r$3cretkey' app = Flask(__name__) +#app = Flask(__name__, static_url_path='static') app.config.from_object(__name__) from app import views \ No newline at end of file diff --git a/app/views.py b/app/views.py index 690c7b0..c59f31e 100644 --- a/app/views.py +++ b/app/views.py @@ -111,7 +111,7 @@ def wtform(): return render_template('wtform.html', form=myform) -@app.route('/dock', methods=['GET', 'POST']) +@app.route('/Dock', methods=['GET', 'POST']) def dock_upload(): form = curieForm() -- cgit v1.2.3