I was trying to put a link in some text through url_for (flask, python3) and also pass a variable but nothing I tried worked .Here's the code I used. Am I doing something wrong? html5:
<a class="mr-2" href={{ url_for('user','username'=posts.author)}} >TEXT</a>
python3:
@app.route('/user')
def user(username):
print(username)