Closed DannyJamesHidalgo closed 3 months ago
from django.contrib import admin from django.urls import include, path from rest_framework import routers from raterapi.views import register_user, login_user router = routers.DefaultRouter(trailing_slash=False) urlpatterns = [ path("", include(router.urls)), path("register", register_user), path("login", login_user), ]
example above