Re: django URLconf current path didn't match

2018-03-11 Thread Jason
and you're getting this from the URL *localhost:8000/polls/ *? On Saturday, March 10, 2018 at 8:31:34 AM UTC-5, Usman Gill wrote: > > Using the URLconf defined in mysite.urls, Django tried these URL patterns, > in this order: > > polls/ [name='index'] > admin/ > > The current path, polls/, didn't

django URLconf current path didn't match

2018-03-10 Thread Usman Gill
Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: polls/ [name='index'] admin/ The current path, polls/, didn't match any of these. My code is... from (app)polls urls.py from django.urls import pathfrom . import views urlpatterns = [ path('',