Fix import path to use django.urls

This is what is prescribed in the Django 2.1 tutorial
This commit is contained in:
johnthagen 2018-12-27 10:21:13 -05:00 committed by GitHub
parent 66674aec51
commit 5d2700307c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ We can easily break these down into individual views if we need to, but using vi
Okay, now let's wire up the API URLs. On to `tutorial/urls.py`... Okay, now let's wire up the API URLs. On to `tutorial/urls.py`...
from django.conf.urls import include, path from django.urls import include, path
from rest_framework import routers from rest_framework import routers
from tutorial.quickstart import views from tutorial.quickstart import views