I was reminded in prep for recent Web workshops that the Django recommended way of defining URLs is with path() function rather than re_path() and has been so since Django 3.2 at least.
E.g. see https://docs.djangoproject.com/en/4.2/topics/http/urls/
This updates OMERO.figure to use path() as a first step. Can think about omero-web and other apps too...
Expect no change in functionality.
To test all URLs...
[x] Go To /figure/open - open a new figure (list Files and thumbnails OK)
[x] Go To /figure/new - Add a new image to figure
[x] Save the Figure
[x] Test rendering of Big images
[x] Delete a figure
[x] Add an image with timestamps to figure, check timestamps are loaded `timestamps/?image=id
I was reminded in prep for recent Web workshops that the Django recommended way of defining URLs is with
path()
function rather thanre_path()
and has been so since Django 3.2 at least. E.g. see https://docs.djangoproject.com/en/4.2/topics/http/urls/This updates OMERO.figure to use
path()
as a first step. Can think about omero-web and other apps too...Expect no change in functionality.
To test all URLs...