url(..) updated with path(..) in index.md

This commit is contained in:
VladSaichenko 2020-08-26 12:15:35 +07:00
parent e215db206a
commit 9a2089ceef

View File

@ -120,7 +120,7 @@ If you're intending to use the browsable API you'll probably also want to add RE
urlpatterns = [ 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. Note that the URL path can be whatever you want.