duck-booking-tool/api/urls.py
Gergely Polonkai 8fadaba002 Move api.viewsets to api.views
Naming is much more clear this way
2015-10-19 17:09:16 +02:00

11 lines
230 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)
urlpatterns = rest_router.urls