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'), ] ```