Friday, September 7, 2012

Re: Virtualenv changes url reverse behaviour

On Fri, Sep 7, 2012 at 12:36 PM, William Hart <hart.wl@gmail.com> wrote:
> And used in templates like so:
> {% url 'dashboard' %}

If you want to use quotes, put:
{% load url from future %}
at the top of your template.

Newer versions of Djagno WILL eventually require quotes, and using the
'load url from future' line allows you to get a head start on it.

-A

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate