{% with widget.vue_context.id|add:"_vue_context" as vue_context_id %} {{ widget|json_script:vue_context_id }} {% endwith %}