Quiz
13 строк · 471.0 Байт
1from django.urls import path2import user_profile.views as u_p3
4app_name = 'user_profile'5
6urlpatterns = [7path('', u_p.index, name='index'),8path('friends/', u_p.view_friends, name='friends'),9path('users/<int:pk>/', u_p.UserDetailView.as_view(), name='profile'),10path('games_list/', u_p.my_games, name='games_list'),11path('search_friends/', u_p.manage_friends, name='search_friends'),12path('leaderboard/', u_p.leaderboard, name='leaderboard'),13]
14