Skip to content

Commit 59ab199

Browse files
Michael Howitzauvipy
andauthored
Add missing import (#977)
* Add missing import In a newly created Django project (version 3.2.1) the `include` function is not imported. * Register myself as an author Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
1 parent 49fb3cb commit 59ab199

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Jonathan Steffan
4040
Jozef Knaperek
4141
Jun Zhou
4242
Kristian Rune Larsen
43+
Michael Howitz
4344
Paul Dekkers
4445
Paul Oswald
4546
Pavel Tvrdík

docs/tutorial/tutorial_01.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Include the Django OAuth Toolkit urls in your `urls.py`, choosing the urlspace y
3333

3434
.. code-block:: python
3535
36+
from django.urls import path, include
37+
3638
urlpatterns = [
3739
path("admin", admin.site.urls),
3840
path("o/", include('oauth2_provider.urls', namespace='oauth2_provider')),

0 commit comments

Comments
 (0)