From 4d0eb5638408125e6e272dda9785f291ef4f15d7 Mon Sep 17 00:00:00 2001 From: Sarthak Munshi Date: Mon, 1 Feb 2016 23:29:40 +0530 Subject: [PATCH] changed imports with accordance to django 1.9.* --- docs/tutorial/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 2bb274355..5c2fa352b 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -61,7 +61,7 @@ Right, we'd better write some views then. Open `tutorial/quickstart/views.py` a from django.contrib.auth.models import User, Group from rest_framework import viewsets - from tutorial.quickstart.serializers import UserSerializer, GroupSerializer + from quickstart.serializers import UserSerializer, GroupSerializer class UserViewSet(viewsets.ModelViewSet): @@ -89,7 +89,7 @@ Okay, now let's wire up the API URLs. On to `tutorial/urls.py`... from django.conf.urls import url, include from rest_framework import routers - from tutorial.quickstart import views + from quickstart import views router = routers.DefaultRouter() router.register(r'users', views.UserViewSet)