diff --git a/series_tiempo_ar_api/apps/dump/urls.py b/series_tiempo_ar_api/apps/dump/urls.py index fefc7a84..633605cf 100644 --- a/series_tiempo_ar_api/apps/dump/urls.py +++ b/series_tiempo_ar_api/apps/dump/urls.py @@ -7,6 +7,6 @@ urlpatterns = [ - url(r'^(?P[^/]*)$', serve_global_dump, name='global_dump'), - url(r'^(?P.*)/(?P.*)$', serve_catalog_dump, name='catalog_dump') + url(r'^(?P[^/]+)/$', serve_global_dump, name='global_dump'), + url(r'^(?P.+)/(?P.+)/$', serve_catalog_dump, name='catalog_dump') ]