title: Django manage.py runserver command requested resource was not found on this server error
body: <p>I have just today started working with django. </p>
  
  <p>I tried executing the run server command but I keep encountering the <code>Page not found error</code>. </p>
  
  <p>I have been trying to debug the problem for almost an hour now.</p>
  
  <p>Project rms > myrms (app)</p>
  
  <h1>Edit:</h1>
  
  <p>I have initally doubly defined url patterns statement which was pointed out by meshy. I corrected that error but still the code is not working. Help.</p>
  
  <h2>myrms/view.py</h2>
  
  <pre><code>from django.http import HttpResponse
  # Create your views here.
  def index(request):
      return HttpResponse("Hello,World. You're at the polls index.")
  </code></pre>
  
  <h2>myrms/urls.py</h2>
  
  <pre><code>from django.contrib import admin
  from django.urls import include, path
  from . import views
  
  urlpatterns = [
      path('', views.index,name = 'index'),
      path('myrms/', include('myrms.urls')),
      path('admin/', admin.site.urls),
  ]
  </code></pre>
  
  <p>It's expected to show the hello world statement but keeps on turning up <code>Page not found error</code>
  on running manage.py runserver
  Performing system checks...</p>
  
  <pre><code>System check identified no issues (0 silenced).
  February 18, 2019 - 18:41:24
  Django version 2.1.7, using settings 'RMS.settings'
  Starting development server at http://127.0.0.1:8000/
  Quit the server with CTRL-BREAK.
  [18/Feb/2019 18:41:36] "GET /myrms/ HTTP/1.1" 404 77
  </code></pre>
  
  <p>I am trying to open. url"<a href="http://localhost:8000/myrms/" rel="nofollow noreferrer">http://localhost:8000/myrms/</a>" or "<a href="http://127.0.0.1:8000/myrms/" rel="nofollow noreferrer">http://127.0.0.1:8000/myrms/</a>" both are showing error</p>