payments card and separated /support url

This commit is contained in:
2025-05-22 16:08:40 +03:00
parent 6963fdb17a
commit 29d3af2ea1
16 changed files with 481 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
from django.urls import path
from api.main.views import FAQView, NewsView, TelegramMessageView
from api.main.views import FAQView, NewsView, TelegramMessageView, LatestRoutesView
from api.auth.views import (
RegisterViewSet,
@@ -8,12 +8,18 @@ LoginViewSet,
LogoutView,
RefreshTokenView)
from api.account.client.views import UserDataView, AccountActionsView, CityView, CountryView
from api.account.client.views import (
UserDataView,
AccountActionsView,
CityView,
CountryView,
GetMembershipData)
urlpatterns = [
path("v1/faq/", FAQView.as_view(), name='faqMain'),
path("v1/news/", NewsView.as_view(), name="newsmain"),
path("v1/send-message", TelegramMessageView.as_view(), name='send_message'),
path("v1/latest-routes/", LatestRoutesView.as_view(), name='latest_routes'),
path("auth/refresh/", RefreshTokenView.as_view(), name="token-refresh"),
path("register/clients/", RegisterViewSet.as_view({'post': 'register_client'}), name="register-client"),
@@ -27,5 +33,7 @@ urlpatterns = [
path("v1/account/create_route/", AccountActionsView.as_view({'post':'create_route'}), name='create_route'),
path("v1/cities/", CityView.as_view({'get':'get_cities'}), name='get_cities'),
path("v1/countries/", CountryView.as_view({'get':'get_countries'}), name='get_countries')
path("v1/countries/", CountryView.as_view({'get':'get_countries'}), name='get_countries'),
path("v1/plans/", GetMembershipData.as_view({'get':'get_pricing_data'}), name='get_pricing_data'),
]