practical-tutorials / project-based-learning

Curated list of project-based tutorials
MIT License
190.17k stars 24.84k forks source link

Typo in project "Build A Simple Web App With Flask" #457

Open Pawnpusher1245 opened 10 months ago

Pawnpusher1245 commented 10 months ago

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//") 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.

Karamraj commented 10 months ago

Please assign me, I will have alook into this. Thanks

ArSenic04 commented 9 months ago

where is whole code by the way