from django.contrib import admin
from django.urls import path
from django.conf.urls import url, include
from rest_framework import routers
from quickstart import views
from django.conf.urls.static import static
from django.conf import settings

router = routers.DefaultRouter( )
router.register( r'clientes', views.ClienteViewSet )
router.register( r'tecnicos', views.TecnicoViewSet )
router.register( r'orden', views.OrdenViewSet )
urlpatterns = [
    path('admin/', admin.site.urls),
    url( r'^', include( router.urls ) ),
    url( r'^api-auth/', include( 'rest_framework.urls', namespace='rest_framework' ))

 ]