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
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('',
2 matches
Mail list logo