<reponame>kbilak/Talker
from django.urls import path
from . import views

app_name = 'chats'

urlpatterns = [
    path('', views.all_rooms, name='all_rooms'),
    path('<int:friend_id>/', views.room_choice, name='room_choice'),
    path('<int:room_name>/<int:friend_id>/', views.room, name='room'),
]
from django.urls import path
from . import views

app_name = 'chats'

urlpatterns = [
    path('', views.all_rooms, name='all_rooms'),
    path('<int:friend_id>/', views.room_choice, name='room_choice'),
    path('<int:room_name>/<int:friend_id>/', views.room, name='room'),
]