URL output in template is empty
===

URL pattern declaration from views.py

    url(r'^intentions/(\d+)/$', 'intentions.views.show'),

When I am writing address directly, like intentions/1 works ok, but when I trying to display URL show for object like:

    {% for i in intentions %}
       {% url 'intentions.views.show' i.id as iUrl %}
        <li><a href="{{ iUrl }}">{{ i }}</a></li>
    {% endfor %}

I am ending with empty href. Could someone give me any advice?

