mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
Fix import path to use django.urls
This is what is prescribed in the Django 2.1 tutorial
This commit is contained in:
parent
66674aec51
commit
5d2700307c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user