Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Alessandro De Angelis
Aleksander Vaskevich
Alan Crosswell
Anvesh Agarwal
Aryan Iyappan
Asif Saif Uddin
Ash Christopher
Aristóbulo Meneses
Expand Down
4 changes: 3 additions & 1 deletion docs/tutorial/tutorial_02.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ URL this view will respond to:

urlpatterns = [
# OAuth 2 endpoints:
path('o/', include(oauth2_endpoint_views, namespace="oauth2_provider")),
# need to pass in a tuple of the endpoints as well as the app's name
# because the app_name attribute is not set in the included module
path('o/', include((oauth2_endpoint_views, 'oauth2_provider'), namespace="oauth2_provider")),
path('api/hello', ApiEndpoint.as_view()), # an example resource endpoint
]

Expand Down