From 50e0142f9f757bd4419877e540635c27378aa35c Mon Sep 17 00:00:00 2001 From: Mishka Gupta <141391088+MishGupta@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:23:24 +0530 Subject: [PATCH 1/5] Change about route to '/about' in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1954e4a..09dff73 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ app = Flask(__name__) def index(): return render_template('index.html') -@app.route("/") +@app.route("/about") def about(): return render_template('about.html') From adf11a2fa3bf2f9aecd7fad9c57c57e3bf077d20 Mon Sep 17 00:00:00 2001 From: Mishka Gupta <141391088+MishGupta@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:24:33 +0530 Subject: [PATCH 2/5] Fix typo in 'Table of Contents' header --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09dff73..689561d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@
-## Table of Content +## Table of Contents - [Installation](#installation) From 8d2104747ab64454eabecc08ad320d638fa8046d Mon Sep 17 00:00:00 2001 From: Mishka Gupta <141391088+MishGupta@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:26:52 +0530 Subject: [PATCH 3/5] Enhance README with run instructions and clarity Added instructions on how to run the project and improved clarity in the README. --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/README.md b/README.md index 689561d..6dc56ef 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ - [URL Variables](#url-variables) - [Redirection](#redirection) - [Message Flashing](#message-flashing) +- [How to Run][#how-to-run]
@@ -343,6 +344,44 @@ if __name__=="__main__": app.run(debug=True) ``` +## How to Run the Project + +```bash +git clone https://github.com/sid86-dev/flask-tutorial.git +cd flask-tutorial +pip install flask +python app.py +Then open: +http://127.0.0.1:5000/ + +👉 Maintainers LOVE this kind of contribution + +--- + +## ✅ 4. Fix grammar & clarity + +Examples: + +From README :contentReference[oaicite:1]{index=1}: + +> “Its Modern and very expressive” + +👉 Fix to: +- “It is modern and very expressive” + +--- + +## ✅ 5. Add Project Structure (VERY GOOD PR) + +Add: + +```markdown +## 📁 Project Structure + +flask-tutorial/ +│── app.py +│── templates/ +│── static/ > Good applications and user interfaces are all about feedback. If the user does not get enough feedback they will probably end up hating the application. Flask provides a really simple way to give feedback to a user with the flashing system. The flashing system basically makes it possible to record a message at the end of a request and access it next request and only next request. This is usually combined with a layout template that does this. Note that browsers and sometimes web servers enforce a limit on cookie sizes. This means that flashing messages that are too large for session cookies causes message flashing to fail silently. From b6a17adde3ebf88912f0acb16b8e761ac847e0af Mon Sep 17 00:00:00 2001 From: Mishka Gupta <141391088+MishGupta@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:27:52 +0530 Subject: [PATCH 4/5] Fix markdown link formatting in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6dc56ef..8e31f57 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - [URL Variables](#url-variables) - [Redirection](#redirection) - [Message Flashing](#message-flashing) -- [How to Run][#how-to-run] +- [How to Run](#how-to-run)
From c8e5cc6018b764795b69f79db691d59e42856b34 Mon Sep 17 00:00:00 2001 From: Mishka Gupta <141391088+MishGupta@users.noreply.github.com> Date: Fri, 24 Apr 2026 20:30:57 +0530 Subject: [PATCH 5/5] Improve grammar and clarity in README Corrected grammar and clarity in the README, removed unnecessary sections. --- README.md | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/README.md b/README.md index 8e31f57..696b8e1 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ if __name__=="__main__": ``` -> Modern web applications use meaningful URLs to help users. Users are more likely to like a page and come back if the page uses a meaningful URL they can remember and use to directly visit a page. +> Modern web applications use meaningful URLs to help users. Users are more likely to like a page and come back if the page uses a meaningful URL they can remember and use to directly visit a page. > Use the `route()` decorator to bind a function to a URL. @@ -354,34 +354,4 @@ python app.py Then open: http://127.0.0.1:5000/ -👉 Maintainers LOVE this kind of contribution - ---- - -## ✅ 4. Fix grammar & clarity - -Examples: - -From README :contentReference[oaicite:1]{index=1}: - -> “Its Modern and very expressive” - -👉 Fix to: -- “It is modern and very expressive” - ---- - -## ✅ 5. Add Project Structure (VERY GOOD PR) - -Add: - -```markdown -## 📁 Project Structure - -flask-tutorial/ -│── app.py -│── templates/ -│── static/ - - > Good applications and user interfaces are all about feedback. If the user does not get enough feedback they will probably end up hating the application. Flask provides a really simple way to give feedback to a user with the flashing system. The flashing system basically makes it possible to record a message at the end of a request and access it next request and only next request. This is usually combined with a layout template that does this. Note that browsers and sometimes web servers enforce a limit on cookie sizes. This means that flashing messages that are too large for session cookies causes message flashing to fail silently.