from django.conf.urls import patterns, include, url from busca.views import HomeView, BuscaView, resultado from django.views.generic import TemplateView # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', HomeView.as_view(), name='home'), url(r'^busca/$', BuscaView.as_view(), name='busca'), url(r'^admin/', include(admin.site.urls)), url(r'^resultado/(?P<id_relatorio>\d+)/$', resultado, name='resultado'), url(r'^resultado/(?P<id_relatorio>\d+)/scriptLattes.css$', TemplateView.as_view(template_name="scriptLattes.css"), name='css') )
from busca.views import BuscaView, BuscaCreate, BuscaUpdate, BuscaDelete from django.conf.urls import patterns, url, include urlpatterns = patterns('', (r'^selectable/', include('selectable.urls')), url(r'^$', BuscaView.as_view(), name='read'), url(r'^criar/$', BuscaCreate.as_view(), name='create'), url(r'^editar/(?P<pk>\d+)/$', BuscaUpdate.as_view(), name='edit'), url(r'^excluir/(?P<pk>\d+)/$', BuscaDelete.as_view(), name='delete'), )
from busca.views import BuscaView, BuscaCreate, BuscaUpdate, BuscaDelete from django.conf.urls import patterns, url, include urlpatterns = patterns( '', (r'^selectable/', include('selectable.urls')), url(r'^$', BuscaView.as_view(), name='index'), url(r'^criar/$', BuscaCreate.as_view(), name='create'), url(r'^editar/(?P<pk>\d+)/$', BuscaUpdate.as_view(), name='edit'), url(r'^excluir/(?P<pk>\d+)/$', BuscaDelete.as_view(), name='delete'), )
from django.conf.urls import patterns, include, url from busca.views import HomeView, BuscaView, resultado from django.views.generic import TemplateView # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns( '', # Examples: url(r'^$', HomeView.as_view(), name='home'), url(r'^busca/$', BuscaView.as_view(), name='busca'), url(r'^admin/', include(admin.site.urls)), url(r'^resultado/(?P<id_relatorio>\d+)/$', resultado, name='resultado'), url(r'^resultado/(?P<id_relatorio>\d+)/scriptLattes.css$', TemplateView.as_view(template_name="scriptLattes.css"), name='css'))