On Jul 11, 12:14 am, Russell Keith-Magee <russ...@keith-magee.com>
wrote:
> > So you can't put reverse now in settings.py unless there is some
> > late-binding construct, like
>
> > LOGIN_URL = RevLink('accounts:login', account_type='user')
>
> You shouldn't have to put reverse() calls into settings.py -- you
> should only have to provide the name. That's the point of having named
> URLs. Resolution should be happing at runtime, not at time of
> definition.

Well, with a lazy_reverse[1] function, this resolution could still
happen at at runtime.

[1] http://code.djangoproject.com/ticket/5925

-- 
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.

Reply via email to