On Tue, Oct 5, 2010 at 7:27 AM, SmileyChris <smileych...@gmail.com> wrote: > Just throwing the idea out there, it would be possible to keep the tag > completely backwards compatible by using a slightly different syntax > for variables. > > Standard non-variable access stays the same: {% url home %}, {% url > edit-profile profile.pk %} > > Variable access is done via a "var=" first argument: {% url > var=some_urlname %} , {% url var=client.edit_profile_urlname > profile.pk %}
I don't deny that this would be backwards compatible. However, rather than work around a syntactic wart, I'd rather fix it outright. {% load future_urls %} gives us an 18 month window (or so) during which; 36 months if we replace future_urls with old_urls when we do the switchover. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@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.