mirror of
https://github.com/yawaflua/SusMarket.git
synced 2025-12-10 04:29:32 +02:00
Добавил апи
This commit is contained in:
11
SusMarketBackend/urls.py
Normal file
11
SusMarketBackend/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('get/category', views.category, name='category'),
|
||||
path('get/products', views.products, name='products'),
|
||||
path('get/reviews/<int:product>', views.reviews, name='reviews'),
|
||||
path('post/user/<str:login>/<str:password>', views.register_user, name='register-user'),
|
||||
path('post/check/user/<str:login>', views.check_user, name='check-user'),
|
||||
path('get/user/<str:login>/<str:password>', views.user, name='get-user')
|
||||
]
|
||||
Reference in New Issue
Block a user