SyntaxFix
Write A Post
Hire A Developer
Questions
Templates:
Pass function name and argument.
<a href="{{ url_for('get_blog_post',id = blog.id)}}">{{blog.title}}</a>
View,function
@app.route('/blog/post/<string:id>',methods=['GET']) def get_blog_post(id): return id