[Django]-Django: Nested variables in templates

9👍

✅

Variables can be declared within a Django template:

{% url jobseeker_home as home_url %}
<input type="hidden" name="next" value="{{ next|default:home_url }}" />

Leave a comment