Computer scienceBackendDjangoTemplates

Template tags

Security issues

Report a typo

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!

Write a program in Python 3
template = """
<form action="like" method="post">
<input type="submit" value="👍">
</form>
"""
___

Create a free account to access the full topic