#15083: TemplateResponse doesn't use custom per-request URLConf
---------------------------+------------------------------------------------
 Reporter:  russellm       |       Owner:  nobody    
   Status:  new            |   Milestone:  1.3       
Component:  Generic views  |     Version:  1.2       
 Keywords:  blocker        |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 via Sayane on django-dev mailing list:

 There is a problem with TemplateResponse and request.urlconf. Custom
 urlconf is removed[1] before TemplateResponse is rendered. This means that
 any call to reverse() when rendering template will use default urlconf
 (from settings). This makes TemplateResponse useless when using custom
 urlconf.

 [1]
 
http://code.djangoproject.com/browser/django/trunk/django/core/handlers/base.py#L166

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15083>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to