From 66fd2d000132ba3d9b3ea4705222d8f8bf81f777 Mon Sep 17 00:00:00 2001 From: Wassilios Lytras Date: Thu, 28 Sep 2023 15:43:45 +0200 Subject: [PATCH] :pencil: Update README.md (#378) Replace url with path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f9b0c64..377c74bf 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Add the health checker to a URL you want to use: ```python urlpatterns = [ # ... - url(r'^ht/', include('health_check.urls')), + path(r'ht/', include('health_check.urls')), ] ``` @@ -238,7 +238,7 @@ and `render_to_response_json` properties: urlpatterns = [ # ... - url(r'^ht/$', views.HealthCheckCustomView.as_view(), name='health_check_custom'), + path(r'ht/', views.HealthCheckCustomView.as_view(), name='health_check_custom'), ] ```