from django.contrib import admin from django.urls import path, include from .views import * urlpatterns = [ path('auth/', include([ path('me/', AboutMeView.as_view()), path('login/', LoginView.as_view()), path('register/', RegisterView.as_view()), ])), path('users/', include([ path('/', UserAPIView.as_view()), path('', UserListAPIView.as_view()) ])), path('schools/', include([ path('/', SchoolAPIView.as_view()), path('', SchoolListAPIView.as_view()) ])), ]