That example is incorrect.

{% url app_views.client %}

will not change to

{% "url app_views.client" %}

it will change to

{% url "app_views.client" %}

which, as you can see, enables passing the view from something other than a
literal string.

On 27 March 2012 09:22, gs412 <gs...@126.com> wrote:

> In Django1.5
>
> {% url app_views.client %}
>
> will change to
>
>> {% "url app_views.client" %}
>
>
> I think it is a stupid idea
> Why so many people use django? becouse of 'DRY', but now django become
> more and more 'dirty'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-developers/-/-kXfyDKv3-MJ.
> To post to this group, send email to django-developers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>

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

Reply via email to