15 lines
689 B
Python
15 lines
689 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.home, name='home'),
|
|
path('dashboard/', views.dashboard, name='dashboard'),
|
|
path('upload/', views.upload_file, name='upload'),
|
|
path('delete/<int:file_id>/', views.delete_file, name='delete_file'),
|
|
path('send-message/', views.send_message, name='send_message'),
|
|
path('search/', views.search_files, name='search'),
|
|
path('friends/', views.manage_friends, name='manage_friends'),
|
|
path('friends/send-request/', views.send_friend_request, name='send_friend_request'),
|
|
path('friends/handle-request/<int:request_id>/', views.handle_friend_request, name='handle_friend_request'),
|
|
]
|