From bf77df6d396cd2c5d6d355236b3bd101bb88f277 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Tue, 27 Aug 2024 13:37:55 +0600 Subject: [PATCH] Update docs/topics/browsable-api.md --- docs/topics/browsable-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/browsable-api.md b/docs/topics/browsable-api.md index b4a8adb17..e02d8e645 100644 --- a/docs/topics/browsable-api.md +++ b/docs/topics/browsable-api.md @@ -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 = [ # ...