[Django]-Error during template rendering / Could not parse some characters

2👍

A template tag does not use double curly brackets ({{ … }}), but single ones, with the % immediately followed by that (so {% … %}). The {% with … %} block in your template uses double curly brackets:

{% with website=profile.website|default:'' %}
    …
{% endwith %}

Leave a comment