14 lines
549 B
Python

from django.urls import path
from user_profile.views import User_Search_View
from user_profile.views import User_Profile_View
from user_profile.views import Send_Friend_Request_View
urlpatterns = [
path("search/", User_Search_View.as_view({"post": "list"}), name="puckopruttisar-search"),
path("profile/<slug:slug>/", User_Profile_View.as_view({"get": "profile"}, name="puckopruttis-profile")),
path("profile/<slug:slug>/send_friend_request/", Send_Friend_Request_View.as_view({"get": "send"}), name="puckopruttis-ask-friendship")
]