Отображается ошибка после команды python3 manage.py runserver
Что не так с тэгом a href?
Error during template rendering
In template /home/hidden/myproject/newapp/templates/index.html, error at line 30
Reverse for 'prog' with arguments '('',)' not found. 1 pattern(s) tried: ['(?P<programmer_id>[0-9]+)$']
20 img{
21 text-align:center
22 }
23 </style>
24 </head>
25 <body>
26 <h1> Programmers</h1>
27 <ul>
28 {% for pr in programmers %}
29 <li>
30 <a href="{% url 'prog' programmer.id %}">{{ pr }}</a>
31 </li>
32 {% endfor %}
33 </ul>
34 <h3>My local website with some random content.</h3>
35 <img src="https://www.engineering.com/Portals/0/BlogFiles/DesignerEdge/0215/BD1.jpg" alt="dog robot"
36 width="720" height="420">
37 <iframe width="560" height="315" src="https://www.youtube.com/embed/1gu3z7w4Vc8"
38 frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
39 </body>
40 </html>
urls.py
from django.urls import path
from . import views
urlpatterns=[
path("", views.index, name='index'),
path("<int:programmer_id>",views.prog, name='prog')
]