mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
url(..) updated with path(..) in index.md
This commit is contained in:
parent
e215db206a
commit
9a2089ceef
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user