Closed jsuddsjr closed 11 months ago
Correct code:
<form action="{% url 'polls:vote' question.id %}" method="post">
After formatting (note addition of variable brackets). This code will not compile.
<form action="{% url 'polls:vote' {{ question.id }} %}" method="post">
Workaround:
{# prettier-ignore #} <form action="{% url 'polls:vote' question.id %}" method="post">
Please ignore variables inside tags.
Correct code:
After formatting (note addition of variable brackets). This code will not compile.
Workaround:
Please ignore variables inside tags.