diff --git a/omero_figure/urls.py b/omero_figure/urls.py index 9446119d9..be3ac9830 100644 --- a/omero_figure/urls.py +++ b/omero_figure/urls.py @@ -18,7 +18,7 @@ from omeroweb.webgateway import views as webgateway_views from . import views -from django.urls import path +from django.urls import path, re_path urlpatterns = [ @@ -33,7 +33,7 @@ path('imgData//', views.img_data_json, name='figure_imgData'), - path(r'^max_projection_range_exceeded/' + re_path(r'^max_projection_range_exceeded/' r'(?P[0-9]+)/(?:(?P[0-9]+)/)?(?:(?P[0-9]+)/)?$', views.max_projection_range_exceeded, name='max_projection_range_exceeded'),