[Answered ]-Exception Value: Field 'id' expected a number but got 'create-room'

1👍

Change <str:pk>/ to <int:pk>/ so:

urlpatterns = [
    #...
    path('room/<int:pk>/', views.room, name='room')
    #...
]

Leave a comment