duck-booking-tool/api/urls.py
2015-10-19 17:09:16 +02:00

12 lines
292 B
Python

from django.conf.urls import patterns, url, include
from rest_framework import routers
from . import views
rest_router = routers.DefaultRouter()
rest_router.register(r'ducks', views.DuckViewSet)
rest_router.register(r'competences', views.CompetenceViewSet)
urlpatterns = rest_router.urls