aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/auth.py2
-rw-r--r--apioforum/templates/auth/login.html.j2 (renamed from apioforum/templates/auth/login.html)2
-rw-r--r--apioforum/templates/base.html.j2 (renamed from apioforum/templates/base.html)0
3 files changed, 2 insertions, 2 deletions
diff --git a/apioforum/auth.py b/apioforum/auth.py
index 2d42407..d19ad57 100644
--- a/apioforum/auth.py
+++ b/apioforum/auth.py
@@ -28,7 +28,7 @@ def login():
flash(err)
- return render_template("auth/login.html")
+ return render_template("auth/login.html.j2")
@bp.route("/cool")
diff --git a/apioforum/templates/auth/login.html b/apioforum/templates/auth/login.html.j2
index f7da0d3..5f311cf 100644
--- a/apioforum/templates/auth/login.html
+++ b/apioforum/templates/auth/login.html.j2
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html.j2" %}
{% block header %}
<h1>{% block title %}login{% endblock %}</h1>
{% endblock %}
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html.j2
index 01339c1..01339c1 100644
--- a/apioforum/templates/base.html
+++ b/apioforum/templates/base.html.j2