mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
13 lines
276 B
Python
13 lines
276 B
Python
from api.views import CommentViewSet
|
|
from django.conf.urls import url, patterns, include
|
|
from rest_framework import routers
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register(r'comments', CommentViewSet)
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^', include(router.urls)),
|
|
)
|