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:
parent
4ee0963f9f
commit
3bebfb3dee
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue