Initial commit

This commit is contained in:
2025-01-05 10:45:32 +08:00
commit 7634e66541
55 changed files with 2922 additions and 0 deletions

14
main/urls.py Normal file
View File

@@ -0,0 +1,14 @@
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'),
]