vbv/server/vbv_lernwelt/learnpath/urls.py

12 lines
370 B
Python

from django.conf.urls import url, include
from django.urls import path
from rest_framework.routers import DefaultRouter
from . import views
from .views import circle_view, learningpath_view
urlpatterns = [
path(r"api/circle/<slug:slug>/", circle_view, name="circle_view"),
path(r"api/learningpath/<slug:slug>/", learningpath_view, name="learningpath_view"),
]