from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^$', views.general_list, name='general_list'),
    url(r'^equips/$', views.equip_list, name='equip_list'),
    url(r'equips/search/$', views.equip_filter, name='equip_search'),
    url(r'item/search/$', views.item_filter, name='item_search'),
    url(r'manufacturer/search/$', views.fab_filter, name='fab_search'),
    url(r'tipo/item/busca/$', views.tipo_item_filter, name='tipo_item_search'),
    url(r'tipo/equip/busca/$', views.tipo_equip_filter, name='tipo_equip_search'),
    url(r'model/search/$', views.modelo_filter, name='model_search'),
    url(r'^itens/$', views.ItemListView.as_view(), name='item_list'),
    url(r'models/$', views.model_list, name='model_list'),
    url(r'^manufacturer/$', views.fab_list, name='fab_list'),
    url(r'^tipo/item/$', views.tipo_item_list, name='tipo_item_list'),
    url(r'^tipo/$', views.tipo_equip_list, name='tipo_equip_list'),
    url(r'^item/(?P<pk>\d+)$', views.item_detail, name='item_detail'),
    url(r'^equip/(?P<pk>\d+)$', views.equip_detail, name='equip_detail'),
    url(r'^manufacturer/(?P<pk>\d+)$', views.fab_detail, name='fab_detail'),
    url(r'^item/new/$', views.item_new, name='item_new'),
    url(r'^equip/new/$', views.equip_new, name='equip_new'),
    url(r'^manufacturer/new/$', views.fab_new, name='fab_new'),
    url(r'model/new/$', views.model_new, name='model_new'),
    url(r'^tipo/new/$', views.tipo_equip_new, name='tipo_equip_new'),
    url(r'^tipo/(?P<pk>\d+)$', views.tipo_equip_detail, name='tipo_equip_detail'),
    url(r'^tipo/item/new/$',views.tipo_item_new, name='tipo_item_new'),
    url(r'tipo/item/(?P<pk>\d+)$', views.tipo_item_detail, name='tipo_item_detail'),
    url(r'model/(?P<pk>\d+)$', views.model_detail, name='model_detail'),
    url(r'tipo/item/(?P<pk>\d+)/edit/$', views.tipo_item_edit, name='tipo_item_edit'),
    url(r'model/(?P<pk>\d+)/edit/$', views.model_edit, name='model_edit'),
    url(r'^equip/(?P<pk>\d+)/edit/$', views.equip_edit, name='equip_edit'),
    url(r'^manufacturer/(?P<pk>\d+)/edit/$', views.fab_edit, name='fab_edit'),
    url(r'^item/(?P<pk>\d+)/edit/$', views.item_edit, name='item_edit'),
    url(r'^tipo/(?P<pk>\d+)/edit/$', views.tipo_equip_edit, name='tipo_equip_edit'),
]
from django.conf.urls import url
from . import views


urlpatterns = [
    url(r'^$', views.general_list, name='general_list'),
    url(r'^equips/$', views.equip_list, name='equip_list'),
    url(r'equips/search/$', views.equip_filter, name='equip_search'),
    url(r'item/search/$', views.item_filter, name='item_search'),
    url(r'manufacturer/search/$', views.fab_filter, name='fab_search'),
    url(r'tipo/item/busca/$', views.tipo_item_filter, name='tipo_item_search'),
    url(r'tipo/equip/busca/$', views.tipo_equip_filter, name='tipo_equip_search'),
    url(r'model/search/$', views.modelo_filter, name='model_search'),
    url(r'^itens/$', views.ItemListView.as_view(), name='item_list'),
    url(r'models/$', views.model_list, name='model_list'),
    url(r'^manufacturer/$', views.fab_list, name='fab_list'),
    url(r'^tipo/item/$', views.tipo_item_list, name='tipo_item_list'),
    url(r'^tipo/$', views.tipo_equip_list, name='tipo_equip_list'),
    url(r'^item/(?P<pk>\d+)$', views.item_detail, name='item_detail'),
    url(r'^equip/(?P<pk>\d+)$', views.equip_detail, name='equip_detail'),
    url(r'^manufacturer/(?P<pk>\d+)$', views.fab_detail, name='fab_detail'),
    url(r'^item/new/$', views.item_new, name='item_new'),
    url(r'^equip/new/$', views.equip_new, name='equip_new'),
    url(r'^manufacturer/new/$', views.fab_new, name='fab_new'),
    url(r'model/new/$', views.model_new, name='model_new'),
    url(r'^tipo/new/$', views.tipo_equip_new, name='tipo_equip_new'),
    url(r'^tipo/(?P<pk>\d+)$', views.tipo_equip_detail, name='tipo_equip_detail'),
    url(r'^tipo/item/new/$',views.tipo_item_new, name='tipo_item_new'),
    url(r'tipo/item/(?P<pk>\d+)$', views.tipo_item_detail, name='tipo_item_detail'),
    url(r'model/(?P<pk>\d+)$', views.model_detail, name='model_detail'),
    url(r'tipo/item/(?P<pk>\d+)/edit/$', views.tipo_item_edit, name='tipo_item_edit'),
    url(r'model/(?P<pk>\d+)/edit/$', views.model_edit, name='model_edit'),
    url(r'^equip/(?P<pk>\d+)/edit/$', views.equip_edit, name='equip_edit'),
    url(r'^manufacturer/(?P<pk>\d+)/edit/$', views.fab_edit, name='fab_edit'),
    url(r'^item/(?P<pk>\d+)/edit/$', views.item_edit, name='item_edit'),
    url(r'^tipo/(?P<pk>\d+)/edit/$', views.tipo_equip_edit, name='tipo_equip_edit'),
]