summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-05-21 17:17:20 +0000
committerubq323 <ubq323>2021-05-21 17:17:20 +0000
commitcfacbaa3631b591b4106b5294ff779fb4bd5d2b1 (patch)
tree42747d0bb71a14fd66a19d64887a3c3635e8a4f4
parentc82acee80f08090757575f343c0941563ac906db (diff)
change file extensions
-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