From a91bb71e74a1dec909ef0333d4f9bea37a0247bd Mon Sep 17 00:00:00 2001 From: 2O4 <35725720+2O4@users.noreply.github.com> Date: Thu, 4 Mar 2021 23:52:22 +0100 Subject: [PATCH 1/2] Fix wrong import fix wrong import from `url` (unused in example) to `path` --- docs/tutorial/tutorial_02.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/tutorial_02.rst b/docs/tutorial/tutorial_02.rst index 7beb606ce..a826b8dd7 100644 --- a/docs/tutorial/tutorial_02.rst +++ b/docs/tutorial/tutorial_02.rst @@ -34,7 +34,7 @@ URL this view will respond to: .. code-block:: python - from django.conf.urls import url, include + from django.conf.urls import path, include import oauth2_provider.views as oauth2_views from django.conf import settings from .views import ApiEndpoint From dab28cece793eee0c3ad9a130fc3b63e3043b062 Mon Sep 17 00:00:00 2001 From: 2O4 <35725720+2O4@users.noreply.github.com> Date: Fri, 5 Mar 2021 08:39:48 +0100 Subject: [PATCH 2/2] Update tutorial_02.rst --- docs/tutorial/tutorial_02.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/tutorial_02.rst b/docs/tutorial/tutorial_02.rst index a826b8dd7..b05877d7a 100644 --- a/docs/tutorial/tutorial_02.rst +++ b/docs/tutorial/tutorial_02.rst @@ -34,7 +34,7 @@ URL this view will respond to: .. code-block:: python - from django.conf.urls import path, include + from django.urls import path, include import oauth2_provider.views as oauth2_views from django.conf import settings from .views import ApiEndpoint