Skip to content

Commit

Permalink
Fixes an import statement in chapter 5 of the tutorial. (encode#6267)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnee authored and rpkilby committed Nov 2, 2018
1 parent 40da2a2 commit d59a130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/5-relationships-and-hyperlinked-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ If we're going to have a hyperlinked API, we need to make sure we name our URL p

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

from django.conf.urls import url, include
from django.urls import path
from rest_framework.urlpatterns import format_suffix_patterns
from snippets import views

Expand Down

0 comments on commit d59a130

Please sign in to comment.