Access XHR paths from django templating