practical-tutorials / practical-tutorials/project-based-learning
Typo in project "Build A Simple Web App With Flask"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 284k
- Forks
- 36.3k
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
'''
from flask import Flask
app = Flask(name)
@app.route("/")
def index():
return "Index!"
@app.route("/hello")
def hello():
return "Hello World!"
@app.route("/members")
def members():
return "Members"
@app.route("/members/string:name/")
def getMember(name):
return name</string:name>
if name == "main":
app.run()
'''
Should create a simple flask application
Current Behavior
There is a syntax error in the code due to an incorrect closing tag </string:name> inside the route decorator.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Find the project titled "Build A Simple Web App With Flask" and locate the Flask example containing the /members/string:name/ route. Correct the incorrect closing tag shown in the issue, then verify that the example has no syntax error and still creates a simple Flask application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- documentation, web-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100