title: django can't find views...page not found error
body: <p>I am trying to print a response from the view.. but django shows the page not found error(404)</p>
  
  <p>My main project.urls are:-</p>
  
  <pre class="lang-html prettyprint-override"><code>from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.conf import settings
  from . import views
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'ultimatefinalblog.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
      url(r'^$',views.siteindex,name="siteindex"),
      url(r'^blog/', include('blog.urls')),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^markdown/', include('django_markdown.urls')),
  
  )
  </code></pre>
  
  
  
  <p>my blog's urls.py are:-</p>
  
  <pre class="lang-html prettyprint-override"><code>from django.conf.urls import patterns,  url
  from blog import views
  
  urlpatterns = patterns('',
      #url(r'^$', views.BlogIndex.as_view(), name="index"),
      #url(r'^(?P&lt;slug&gt;\S+)$', views.BlogDetail.as_view(), name="entry_detail"),
      #url(r'^$', views.testview, name="testview"),
      url(r'^$', views.index, name="index"),
      url(r'^(?P&lt;slug&gt;\S+)$', views.detail, name="entry_detail"),
      url(r'^testingpage/', views.testview, name='testview'),
      )
  </code></pre>
  
  
  
  <p>I have defined the testview function in my views.py</p>
  
  <pre class="lang-html prettyprint-override"><code>def testview(request):
      return HttpResponse("testing our view!")
  </code></pre>
  
  
  
  <p>When i try to run the url 127.0.0.1:8000/blog/testingpage in my development server it shows the page not found error...can somebody help me solve this problem?</p>