Skip to content

Commit 764ea9c

Browse files
committed
Update url() to path()
1 parent 3e2ff0d commit 764ea9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monitoring/synchronisation/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from django.conf.urls import include, url
1+
from django.urls import include, path
22

33
from rest_framework import routers
44

@@ -9,5 +9,5 @@
99

1010

1111
urlpatterns = [
12-
url(r'^', include(router.urls)),
12+
path('', include(router.urls)),
1313
]

0 commit comments

Comments
 (0)