Skip to content

Commit 9f4dd57

Browse files
committed
Tweaks from Adrian's review
1 parent afbe8c2 commit 9f4dd57

File tree

12 files changed

+16
-32
lines changed

12 files changed

+16
-32
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"request": "launch",
6565
"module": "flask",
6666
"env": {
67-
"FLASK_APP": "HelloFlask/app.py"
67+
"FLASK_APP": "hello_flask/app.py"
6868
},
6969
"args": [
7070
"run",
@@ -122,4 +122,4 @@
122122
]
123123
}
124124
]
125-
}
125+
}

HelloFlask/app.py

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.

hello_flask/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from hello_flask import app
2+
from hello_flask import views
3+
4+
# Time-saver: output a URL to the VS Code terminal so you can easily Ctrl+click to open a browser
5+
# print('http://127.0.0.1:5000/hello/VSCode')
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% extends "layout.html" %}
22
{% block content %}
33
<p>About page for the Flask tutorial.</p>
4-
{% endblock %}
4+
{% endblock %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% extends "layout.html" %}
22
{% block content %}
33
<p>Contact page for the Flask tutorial.</p>
4-
{% endblock %}
4+
{% endblock %}

HelloFlask/templates/hello_there.html renamed to hello_flask/templates/hello_there.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
<body>
99
<span class="message">Hello there, {{ name }}!</span> It's {{ date.strftime("%A, %d %B, %Y at %X") }}.
1010
</body>
11-
</html>
11+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% extends "layout.html" %}
22
{% block content %}
33
<p>Home page for the Flask tutorial.</p>
4-
{% endblock %}
4+
{% endblock %}

0 commit comments

Comments
 (0)