The debug suggest that it only tried to match the admin pattern but
nothing else,
that sugggests to me that you missed this bit in the mysite/urls.py
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('polls/', include('polls.urls')),
Look like url is missing. try to add this line to urls.py
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),]
On Tuesday, April 24, 2018 at 5:04:33 PM UTC+5:30, aljom...@live.com wrote:
>
> hi. i'm new to django dev. so i'm following the
hi. i'm new to django dev. so i'm following the tutorial at
https://docs.djangoproject.com/en/2.0/intro/tutorial01/
i copied and pasted the code samples so as not to introduce typing mistakes.
everything works fine until i reached the "polls" section. i get below errors:
Page not found (404)
3 matches
Mail list logo