Opened 4 years ago

Closed 4 years ago

#31346 closed Bug (worksforme)

Without adding this, got an error.

Reported by: Hadisur Rahman Owned by: nobody
Component: Documentation Version: 3.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

== Given that :

from django.urls import path
from . import views
app_name = 'polls'
urlpatterns = [

path(, views.index, name='index'),
path('<int:question_id>/', views.detail, name='detail'),
path('<int:question_id>/results/', views.results, name='results'),
path('<int:question_id>/vote/', views.vote, name='vote'),

]

== We need to edit and add like this (see below):

from mysite import urls
urls.app_name='polls'

Change History (1)

comment:1 by Mariusz Felisiak, 4 years ago

Component: Error reportingDocumentation
Owner: set to nobody
Resolution: worksforme
Status: newclosed

The current form works for me. Try to use one of support channels.

Note: See TracTickets for help on using tickets.
Back to Top