title: How can I figure out where set Django to do redirect like this?
body: <p>I am new to django, learned a bit, but now I could not figure out what makes the code to do redirect like this:</p>
  
  <p>In urls.py, the only line is </p>
  
  <pre><code>urlpatterns = patterns('main.site_views.static_views',
      url(r'^(?P&lt;full_uri&gt;[\w\/\-]+)/$', 'load_if_static_page', name='load-if-static-page'),
  )
  </code></pre>
  
  <p>so I assume localhost:8000/testtest/ will go to the load_if_static_page, but instead, I got</p>
  
  <pre><code>Page not found (404)
  
  Request Method:
  GET 
  
  Request URL:
  https://localhost:8000/search/?item=testest/
  </code></pre>
  
  <p>so it seems some setting redirect the page to /search/, but I have no clue where to find it, any idea where should I check?</p>
  
  <p>Thanks</p>