Django

Code

Ticket #7191: url_dispatch.patch

File url_dispatch.patch, 0.6 kB (added by andrews, 1 week ago)
  • url_dispatch.txt

    old new  
    157157does not include GET or POST parameters, or the domain name. 
    158158 
    159159For example, in a request to ``http://www.example.com/myapp/``, the URLconf 
    160 will look for ``/myapp/``. 
     160will look for ``myapp/``. 
    161161 
    162162In a request to ``http://www.example.com/myapp/?page=3``, the URLconf will look 
    163 for ``/myapp/``. 
     163for ``myapp/``. 
    164164 
    165165The URLconf doesn't look at the request method. In other words, all request 
    166166methods -- ``POST``, ``GET``, ``HEAD``, etc. -- will be routed to the same