From 801b1ddcdb04721b290bc600b55f65ca3d8b5743 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 9 Jul 2024 08:36:18 +0000 Subject: Tue, Jul 9, 2024, 1:36 AM -07:00 --- wk9/lect/app.py | 7 ------- wk9/lect/hello/app.py | 7 +++++++ wk9/lect/hello/templates/index.html | 11 +++++++++++ wk9/lect/templates/index.html | 11 ----------- 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 wk9/lect/app.py create mode 100644 wk9/lect/hello/app.py create mode 100644 wk9/lect/hello/templates/index.html delete mode 100644 wk9/lect/templates/index.html (limited to 'wk9/lect') diff --git a/wk9/lect/app.py b/wk9/lect/app.py deleted file mode 100644 index bb88884..0000000 --- a/wk9/lect/app.py +++ /dev/null @@ -1,7 +0,0 @@ -from flask import Flask, render_template, request - -app = Flask(__name__) - -@app.route("/") -def index(): - return "hello, world" diff --git a/wk9/lect/hello/app.py b/wk9/lect/hello/app.py new file mode 100644 index 0000000..bb88884 --- /dev/null +++ b/wk9/lect/hello/app.py @@ -0,0 +1,7 @@ +from flask import Flask, render_template, request + +app = Flask(__name__) + +@app.route("/") +def index(): + return "hello, world" diff --git a/wk9/lect/hello/templates/index.html b/wk9/lect/hello/templates/index.html new file mode 100644 index 0000000..28aaf9f --- /dev/null +++ b/wk9/lect/hello/templates/index.html @@ -0,0 +1,11 @@ + + + + + + hello + + + Hello, World + + diff --git a/wk9/lect/templates/index.html b/wk9/lect/templates/index.html deleted file mode 100644 index 28aaf9f..0000000 --- a/wk9/lect/templates/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - hello - - - Hello, World - - -- cgit v1.2.3