Update README.rst for Django 1.5 style {% url %} use

I spent a while trying to figure out how to get {% url %} to function like {% load url from future %} in Django 1.3/1.4 until I read here about the filter. I think it would be helpful to explicitly mention how to use it with a variable as it took me a bit to figure it out.
This commit is contained in:
Mike Rooney 2013-03-04 00:05:27 -05:00
parent 4ee0963f9f
commit 3bebfb3dee
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Coffin currently makes the following Django tags available in Jinja:
- {% spaceless %}
- {% url %} - additionally, a ``"view"|url()`` filter is also
available.
available. Or use ``view|url()`` for Django 1.5 style lookups by the value of ``view``.
- {% with %}