urls.py 148 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)