ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 30 forks source link

Use path instead of re_path for all URLs #563

Closed will-moore closed 3 weeks ago

will-moore commented 3 weeks ago

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...

jburel commented 3 weeks ago

This PR should probably be included in the upcoming 7.0.0

will-moore commented 3 weeks ago

@jburel I have just checked all the features/URLs above which covers all URLs on merge-ci.