from django conf urls import url from talk import viewsets from rest_f

1
2
3
4
5
6
7
8
9
from django.conf.urls import url
from talk import viewsets
from rest_framework import routers
router = routers.SimpleRouter()
router.register(r'talks', viewsets.TalkViewSet)
urlpatterns = router.urls