{% extends "tree.html" %} {% block widgets %} $("#taglist").tagit({ existingTags: [{% for t in tagobj.tags %}'{{t}}',{% endfor %}], namePrefix: 'tags' }); {% endblock %} {% block content %}