Guillermo Fernandez Castellanos wrote:
> But then, is this not going against the DYR principle? In my case, if
> I have to change my mind I simply have to change a varialbe, while in
> your case I've to change the whole lot of templates, even if your
> option might be 'cleaner'.

No you shouldn't. It's in fact the whole point why reverse lookup was 
invented: to bind templates to an actual app structure and let an 
urlconf be configured in any way. I mean

     {% url app_name.view_name %}

will give you a correct URL with any urlconf with all the include's. So 
you won't have to change even a single variable :-)

--~--~---------~--~----~------------~-------~--~----~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to