backend/config/api_router.py
2023-05-21 17:13:16 +03:00

11 lines
300 B
Python

from rest_framework.routers import DefaultRouter
from passfinder.recomendations.api.views import TinderView, PersonalRecommendation
router = DefaultRouter()
router.register('tinder', TinderView)
router.register("recommendations", PersonalRecommendation)
app_name = "api"
urlpatterns = router.urls