Fixes an import statement in chapter 5 of the tutorial. (#6267)

This commit is contained in:
Tom Snee 2018-11-02 11:48:39 -04:00 committed by Ryan P Kilby
parent 40da2a21ef
commit d59a130168

View File

@ -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: 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 rest_framework.urlpatterns import format_suffix_patterns
from snippets import views from snippets import views