<gh_stars>0
# -*- encoding: utf-8 -*-
"""
Copyright (c) 2019 - present GlastHeim.pe
"""

from django.urls import path, re_path
from apps.vehicles.views import VehiclesViews, VehiclesListAPIView, VehiclesCreate, CreateTypeVehicle, TypeVehicleList, Information, UpdateVehicle, VehiclesList

urlpatterns = [
    path('', VehiclesList.as_view(), name='vehicles.index'),
    path('create', VehiclesCreate.index, name='vehicles.create'),
    path('information/<str:pk>', Information.index, name='vehicles.information'),
    path('update/<str:pk>', UpdateVehicle.as_view(), name='vehicles.update'),
    path('api/search/', VehiclesListAPIView.as_view(), name='vehicle.search'),
    path('api/type/register/', CreateTypeVehicle.as_view(), name='vehicle.type.register'),
    path('api/type/', TypeVehicleList.as_view(), name='vehicle.type')
]