Skip to content

Commit 4c6f059

Browse files
deoktrRust Saiargaliev
andauthored
Fix wrong import (#930)
* Fix wrong import fix wrong import from `url` (unused in example) to `path` * Update tutorial_02.rst Co-authored-by: Rust Saiargaliev <[email protected]>
1 parent 1ada5af commit 4c6f059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/tutorial_02.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ URL this view will respond to:
3434

3535
.. code-block:: python
3636
37-
from django.conf.urls import url, include
37+
from django.urls import path, include
3838
import oauth2_provider.views as oauth2_views
3939
from django.conf import settings
4040
from .views import ApiEndpoint

0 commit comments

Comments
 (0)