Skip to content

Commit 6be3642

Browse files
committed
Rename folder hello_app to match tutorial
1 parent 9f4dd57 commit 6be3642

File tree

11 files changed

+5
-5
lines changed

11 files changed

+5
-5
lines changed

Diff for: .vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"request": "launch",
6565
"module": "flask",
6666
"env": {
67-
"FLASK_APP": "hello_flask/app.py"
67+
"FLASK_APP": "hello_app/app.py"
6868
},
6969
"args": [
7070
"run",
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
from flask import Flask
2-
app = Flask(__name__)
2+
app = Flask(__name__)

Diff for: hello_flask/app.py renamed to hello_app/app.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from hello_flask import app
2-
from hello_flask import views
1+
from hello_app import app
2+
from hello_app import views
33

44
# Time-saver: output a URL to the VS Code terminal so you can easily Ctrl+click to open a browser
55
# print('http://127.0.0.1:5000/hello/VSCode')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: hello_flask/views.py renamed to hello_app/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from datetime import datetime
22
from flask import Flask, render_template
3-
from hello_flask import app
3+
from hello_app import app
44

55
@app.route('/')
66
def home():

0 commit comments

Comments
 (0)