urls.py 362 B

123456789101112
  1. from django.urls import path, include
  2. from django.views.generic.base import TemplateView
  3. from . import views
  4. urlpatterns = [
  5. path("Friend/add", views.addFriend),
  6. path("friendsList/", views.friendsList),
  7. path("friendsList/<int:pk>", views.friendDetail),
  8. path("friend/delete", views.deleteFriend),
  9. path("friend/accept", views.acceptFriend)
  10. ]