from django.template.defaulttags import URLNode
t = Template(
    """{% load url from future %}
{% url projects_list company.slug %}""")
for node in t.nodelist:
    if isinstance(node, URLNode):
        for arg in node.args:
            print(arg)
t2 = Template(
    """{% load url from future %}
{% url "projects_list" company.slug }""")
for node in t2.nodelist:
    pass
How to parse Django templates for template tags