from django.conf.urls import include, url from compilacao import views urlpatterns_compilacao = [ url(r'^$', views.TaListView.as_view(), name='ta_list'), url(r'^create$', views.TaCreateView.as_view(), name='ta_create'), url(r'^(?P[0-9]+)$', views.TaDetailView.as_view(), name='ta_detail'), url(r'^(?P[0-9]+)/edit$', views.TaUpdateView.as_view(), name='ta_edit'), url(r'^(?P[0-9]+)/delete$', views.TaDeleteView.as_view(), name='ta_delete'), url(r'^(?P[0-9]+)/text$', views.TextView.as_view(), name='ta_text'), url(r'^(?P[0-9]+)/text/vigencia/(?P.+)/$', views.TextView.as_view(), name='ta_vigencia'), url(r'^(?P[0-9]+)/text/edit', views.TextEditView.as_view(), name='ta_text_edit'), url(r'^(?P[0-9]+)/text/(?P[0-9]+)/$', views.DispositivoView.as_view(), name='dispositivo'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/nota/create$', views.NotasCreateView.as_view(), name='nota_create'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/nota/(?P[0-9]+)/edit$', views.NotasEditView.as_view(), name='nota_edit'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/nota/(?P[0-9]+)/delete$', views.NotasDeleteView.as_view(), name='nota_delete'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/vide/create$', views.VideCreateView.as_view(), name='vide_create'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/vide/(?P[0-9]+)/edit$', views.VideEditView.as_view(), name='vide_edit'), url(r'^(?P[0-9]+)/text/' '(?P[0-9]+)/vide/(?P[0-9]+)/delete$', views.VideDeleteView.as_view(), name='vide_delete'), url(r'^(?P[0-9]+)/text/search$', views.DispositivoSearchFragmentFormView.as_view(), name='search_dispositivo'), ] urlpatterns = [ url(r'^ta/', include(urlpatterns_compilacao)), ] """ url(r'^(?P[0-9]+)/compilacao/(?P[0-9]+)/refresh', views.DispositivoEditView.as_view(), name='dispositivo_edit'), url(r'^(?P[0-9]+)/compilacao/(?P[0-9]+)/actions', views.ActionsEditView.as_view(), name='dispositivo_actions'), """