Hey guys, I am on part 4 of writing your first django app. And I am stuck
at the part where it says this "Now, go to /polls/1/ in your browser and
vote in the question. You should see a results page that gets updated each
time you vote. If you submit the form without having chosen a choice, you
When you receive that error message "Template does not exist", most of time
you are able to find errors in URL and TEMPLATE.
Please show us your urls.py and detail.html and result.html :)
2018-05-29 10:45 GMT+09:00 Caleb Bryson :
> Hey guys, I am on part 4 of writing your first django app. And I
P.S.: This is my first attempt at setting up a website using django so my
code may look a little ruff.
here is my urls.py
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name='index'),
path('/', views.detail, name='detail'),
path('/results/', views.result
3 matches
Mail list logo