1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-04-28 13:03:45 +03:00

Update docs/topics/browsable-api.md

This commit is contained in:
Asif Saif Uddin 2024-08-27 13:37:55 +06:00 committed by GitHub
parent 54884a53aa
commit bf77df6d39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ By default, the API will return the format specified by the headers, which in th
To quickly add authentication to the browesable api, add a routes named `"login"` and `"logout"` under the namespace `"rest_framework"`. DRF provides default routes for this which you can add to your urlconf:
```python
from django.urls import include, re_path
from django.urls import include, path
urlpatterns = [
# ...