backend routes
This commit is contained in:
@@ -15,7 +15,8 @@ CityView,
|
||||
CountryView,
|
||||
GetMembershipData,
|
||||
ChangeUserMembership,
|
||||
LeadViewSet)
|
||||
LeadViewSet,
|
||||
PremiumMembershipActionsView)
|
||||
|
||||
from api.search.views import SearchRouteListView
|
||||
|
||||
@@ -35,6 +36,8 @@ urlpatterns = [
|
||||
path("v1/account/change_main_data/", AccountActionsView.as_view({'patch':'change_data_main_tab'}), name='change_data_main_tab'),
|
||||
path("v1/account/routes/", AccountActionsView.as_view({'get':'user_routes'}), name='user_routes'),
|
||||
path("v1/account/create_route/", AccountActionsView.as_view({'post':'create_route'}), name='create_route'),
|
||||
path("v1/account/highlight/", PremiumMembershipActionsView.as_view({'patch':'highlight_route'}), name='highlight_route'),
|
||||
path("v1/account/upper/", PremiumMembershipActionsView.as_view({'patch':'upper_route'}), name='upper_route'),
|
||||
|
||||
path("v1/account/send_lead/", LeadViewSet.as_view({'post':'send_lead'}), name='send_lead'),
|
||||
path("v1/account/leads/", LeadViewSet.as_view({'get':'get_leads'}), name='get_leads'),
|
||||
|
||||
Reference in New Issue
Block a user