But I still got NoReverseMatch error, until I removed that line
completely.
This is not my expected behavior. The template backend must recognize
HTML's comment tags (<!-- ... -->) and ignore them.
I use the default backend.
--
Ticket URL: <https://code.djangoproject.com/ticket/32936>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
You could use Django comments, e.g. `{#% url ... %#}` rather than HTML
comments. The Django template engine doesn't parse HTML and even if it
did, making HTML comments disable Django template tags doesn't seem
appropriate.
--
Ticket URL: <https://code.djangoproject.com/ticket/32936#comment:1>