#11856: HttpRequest.path_info not mentioned in docs
------------------------------------------------+---------------------------
 Reporter:  schmilblick                         |       Owner:  nobody    
   Status:  new                                 |   Milestone:            
Component:  Documentation                       |     Version:  1.0       
 Keywords:  HttpRequest request path path_info  |       Stage:  Unreviewed
Has_patch:  0                                   |  
------------------------------------------------+---------------------------
 I've been looking for a way to use different index (/) views for different
 subdomains.
 So far I had been using a middleware component to pry out the subdomain,
 and then have a bunch of checks in the default index view.

 I wanted to split that up to different views, and someone suggested that i
 could modify the request path in my middleware so another urlpattern would
 match thus using another view.

 I looked at: http://docs.djangoproject.com/en/dev/ref/request-
 response/#django.http.HttpRequest
 Found HttpRequest.path, changed it, nothing happened.
 After some digging i found HttpRequest.path_info, modified it and it
 worked.

 So, why isn't path_info in the docs? Is it being removed? Was it recently
 added?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11856>
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