From 3f52ff4e3572e739a25aa3bd2e72c860580b9c29 Mon Sep 17 00:00:00 2001 From: William Moore Date: Fri, 12 May 2023 17:07:31 +0100 Subject: [PATCH] urls.py uses re_path --- omero_signup/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omero_signup/urls.py b/omero_signup/urls.py index 224bdb3..40def82 100644 --- a/omero_signup/urls.py +++ b/omero_signup/urls.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from django.conf.urls import url +from django.urls import re_path from . import views urlpatterns = [ # index 'home page' of the websignup app - url(r'^$', views.WebSignupView.as_view(), name="signup_index"), + re_path(r'^$', views.WebSignupView.as_view(), name="signup_index"), ]