Fix import in code example

Fixed the import statement in tutorial part 6 for the path() and
include() functions.
This commit is contained in:
Chris Shyi 2018-06-21 19:09:09 -04:00
parent 2786f1b023
commit 1d0338cff1

View File

@ -105,7 +105,7 @@ Because we're using `ViewSet` classes rather than `View` classes, we actually do
Here's our re-wired `snippets/urls.py` file.
from django.conf.urls import url, include
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from snippets import views