Skip to content

Commit d59a130

Browse files
tsneerpkilby
authored andcommitted
Fixes an import statement in chapter 5 of the tutorial. (#6267)
1 parent 40da2a2 commit d59a130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/5-relationships-and-hyperlinked-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ If we're going to have a hyperlinked API, we need to make sure we name our URL p
106106

107107
After adding all those names into our URLconf, our final `snippets/urls.py` file should look like this:
108108

109-
from django.conf.urls import url, include
109+
from django.urls import path
110110
from rest_framework.urlpatterns import format_suffix_patterns
111111
from snippets import views
112112

0 commit comments

Comments
 (0)