From 19da112a096e612ac9020b6cce9c9c1f9702a325 Mon Sep 17 00:00:00 2001 From: zrose584 <57181548+zrose584@users.noreply.github.com> Date: Wed, 7 Oct 2020 15:27:56 +0200 Subject: yt_app.config: use 'TEMPLATES_AUTO_RELOAD' --- youtube/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube/__init__.py b/youtube/__init__.py index 6c2ec48..9038634 100644 --- a/youtube/__init__.py +++ b/youtube/__init__.py @@ -5,6 +5,7 @@ import traceback import re from sys import exc_info yt_app = flask.Flask(__name__) +yt_app.config['TEMPLATES_AUTO_RELOAD'] = True yt_app.url_map.strict_slashes = False -- cgit v1.2.3 From 05cec148810a18727f345853e8aadcb3648c1965 Mon Sep 17 00:00:00 2001 From: zrose584 <57181548+zrose584@users.noreply.github.com> Date: Wed, 7 Oct 2020 15:28:32 +0200 Subject: autofocus search input --- youtube/templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 4ff83c5..44aef20 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -19,7 +19,8 @@
Home