This url is used in the form:
{{{
{% url 'polls:vote' question.id %}
}}}
Despite the path definition:
{{{
path('<int:question_id>/vote/', views.vote, name='vote'),
}}}
When I do the same, I get an error as the namespace doesn't exist. This is
easily fixed by removing the namespace from the template.
https://docs.djangoproject.com/en/3.0/intro/tutorial04/#write-a-minimal-
form
--
Ticket URL: <https://code.djangoproject.com/ticket/31740>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
Namespacing URL names are already described in
[https://docs.djangoproject.com/en/3.0/intro/tutorial03/#namespacing-url-
names tutorial 03], moreover `app_name` is also included in
[https://docs.djangoproject.com/en/3.0/intro/tutorial03/#namespacing-url-
names Tutorial 4]. All works for me.
--
Ticket URL: <https://code.djangoproject.com/ticket/31740#comment:1>