Commit 46bdedce authored by Gabriele Lucci's avatar Gabriele Lucci 🏘

urls: Fix regex

parent 8e100442
......@@ -18,8 +18,8 @@ urlpatterns = [
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', admin.site.urls),
url(r'^partecipata/$', views.Partecipata.list, name="partecipata_index"),
url(r'^partecipata/(?P<pk>\d*)/$',
url(r'^partecipate/$', views.Partecipata.list, name="partecipata_index"),
url(r'^partecipate/(?P<pk>\d+)/$',
views.Partecipata.PartecipataView.as_view(),
name="partecipata_detail"),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment