1👍
✅
Change <str:pk>/
to <int:pk>/
so:
urlpatterns = [
#...
path('room/<int:pk>/', views.room, name='room')
#...
]
Source:stackexchange.com