Skip to content

Typo in href in the template #3

Description

@nakib103

<li><a href="/polls/{{ question.id }}/">{{ question.question_text }}</a></li>

The urlpattern had -

path("<int:question_id>/", views.detail, name="detail")

So we should remove polls from "polls/{{ question.id }}/"? otherwise the urls become /polls/polls/1 and gives error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions