Besides comments, it's good to create a simple tool for users to like posts. The form to send likes is almost finished: there are still some security issues. Add a CSRF token at the beginning of the form to resolve them!
Template tags
Security issues
Report a typo
Write a program in Python 3
template = """
<form action="like" method="post">
<input type="submit" value="👍">
</form>
"""
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.