From 9a2089ceef83b34c5eb81cd5813f9969ffbff682 Mon Sep 17 00:00:00 2001 From: VladSaichenko Date: Wed, 26 Aug 2020 12:15:35 +0700 Subject: [PATCH] url(..) updated with path(..) in index.md --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index c7b78e9c3..54654c7c5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -120,7 +120,7 @@ If you're intending to use the browsable API you'll probably also want to add RE urlpatterns = [ ... - url(r'^api-auth/', include('rest_framework.urls')) + path('api-auth/', include('rest_framework.urls')) ] Note that the URL path can be whatever you want.