From b0e7187995ac0057412b421a3bc956545514b42a Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 17 Feb 2016 08:43:35 +0100 Subject: [PATCH] Move index file in static. --- accountant/frontend/__init__.py | 2 +- .../frontend/{templates/layout.html => static/index.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename accountant/frontend/{templates/layout.html => static/index.html} (100%) diff --git a/accountant/frontend/__init__.py b/accountant/frontend/__init__.py index bc6f952..2b6022f 100644 --- a/accountant/frontend/__init__.py +++ b/accountant/frontend/__init__.py @@ -26,4 +26,4 @@ assets.register('frontend_css', frontend_css) @blueprint.route('/', defaults={'path': 'accounts'}) @blueprint.route('/') def index(path): - return render_template('layout.html') + return blueprint.send_static_file('index.html') diff --git a/accountant/frontend/templates/layout.html b/accountant/frontend/static/index.html similarity index 100% rename from accountant/frontend/templates/layout.html rename to accountant/frontend/static/index.html