#31346: Without adding this, got an error. -------------------------------------------+------------------------ Reporter: hudacse6 | Owner: (none) Type: Bug | Status: new Component: Error reporting | Version: 3.0 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------------+------------------------ ''== 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'** -- Ticket URL: <https://code.djangoproject.com/ticket/31346> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/051.a41ade9602ef257b0f2f0ac183af1c6b%40djangoproject.com.