urls.py 442 Bytes
Newer Older
1

2
3
4
from django.conf.urls import url
# from django.conf.urls import include
# from rest_framework import routers
5
6
from . import views

7
# router = routers.DefaultRouter(trailing_slash=False)
8
9
10
11
# router.register(
# r'deployments', views.ClientViewSet, base_name='deployments')

urlpatterns = [
12
    # url(r'^', include(router.urls)),
13
    url(r'^deployments', views.DeploymentsView.as_view()),
14
    url(r'^config', views.ConfigurationView.as_view()),
15
]