from django.urls import path, include from django.contrib.auth import views as auth_views from .views import ( home, about, signup, onboarding, settings_view, get_started, inbox, chat_detail, profile_view, profile_detail, edit_profile, create_post, delete_post, add_comment, toggle_reaction, hide_post, toggle_follow, matches, events, groups, my_posts, send_match_request, handle_match_request, cancel_match_request, block_user, toggle_like, event_detail, event_create, event_edit, event_delete, event_rsvp ) urlpatterns = [ path("", home, name="home"), path("about/", about, name="about"), path("signup/", signup, name="signup"), path("onboarding/", onboarding, name="onboarding"), path("settings/", settings_view, name="settings"), path("get-started/", get_started, name="get_started"), path("messages/", inbox, name="inbox"), path("messages//", chat_detail, name="chat_detail"), path("profile/", profile_view, name="my_profile"), path("profile/edit/", edit_profile, name="edit_profile"), path("profile//", profile_detail, name="profile_detail"), path("profile//follow/", toggle_follow, name="toggle_follow"), # Matches path("matches/", matches, name="matches"), path("matches/requests/", matches, {'tab': 'requests'}, name="match_requests"), path("matches/mutual/", matches, {'tab': 'mutual'}, name="match_mutual"), path("matches/liked/", matches, {'tab': 'liked'}, name="match_liked"), path("matches/blocked/", matches, {'tab': 'blocked'}, name="match_blocked"), path("matches/request//", send_match_request, name="send_match_request"), path("matches/handle//", handle_match_request, name="handle_match_request"), path("matches/cancel//", cancel_match_request, name="cancel_match_request"), path("matches/block//", block_user, name="block_user"), path("matches/like//", toggle_like, name="toggle_like"), path("events/", events, name="events"), path("events/create/", event_create, name="event_create"), path("events//", event_detail, name="event_detail"), path("events//edit/", event_edit, name="event_edit"), path("events//delete/", event_delete, name="event_delete"), path("events//rsvp/", event_rsvp, name="event_rsvp"), path("groups/", groups, name="groups"), path("my-posts/", my_posts, name="my_posts"), # Social URLs path("post/create/", create_post, name="create_post"), path("post//delete/", delete_post, name="delete_post"), path("post//comment/", add_comment, name="add_comment"), path("post//react/", toggle_reaction, name="toggle_reaction"), path("post//hide/", hide_post, name="hide_post"), # Auth URLs path("accounts/", include("django.contrib.auth.urls")), ]