title: requested url not found with production setting in django
body: <p>My website runs with no problem when DEBUG is set to true. but i get requested url not found error when i run the server in production setting. the admin page is fine.</p>
  
  <p>this is my project urls.py:</p>
  
  <pre><code>urlpatterns = patterns('',
  
    url(r'^', include('photography.urls')),
    url(r'^admin/', include(admin.site.urls)),
    # url(r'^$', 'photography.views.hello_world', name='home'),
  )
  </code></pre>
  
  <p>this is my app urls.py:</p>
  
  <pre><code>urlpatterns = patterns('photography.views',
      url(r'^$', views.index, name='index'),
      url(r'^albums/(?P&lt;slug&gt;[a-zA-Z0-9-]+)/$', views.photos_by_location, name='photos_by_location'),
      )
  </code></pre>
  
  <p>For testing purpose, i added a hello world view and it gets rendered with commented line in project urls.py. so I guess my way of including app urls is not really good when DEBUG is false . Is there a way to include my app urls that works in production setting? </p>
  
  <p>Any help would be appreciated. thanks.</p>
  
  <p>Update:</p>
  
  <p>tried <code>url(r'^/', include('photography.urls')),</code> with a <code>/</code> after <code>^</code>. didnt work either.</p>