urls.py 174 Bytes
Newer Older
luxcem's avatar
luxcem committed
1 2 3 4 5
from rest_framework import routers
from .views import ArticleViewSet
router = routers.DefaultRouter()

router.register(r"articles", ArticleViewSet)
cynddl's avatar
cynddl committed
6
urlpatterns = router.urls