Merge pull request #1274 from wilsaj/patch-1

docfix: update installation example to work with django 1.6
This commit is contained in:
Tom Christie 2013-12-07 05:20:41 -08:00
commit 14ae301254

View File

@ -100,7 +100,7 @@ Don't forget to make sure you've also added `rest_framework` to your `INSTALLED_
We're ready to create our API now. We're ready to create our API now.
Here's our project's root `urls.py` module: Here's our project's root `urls.py` module:
from django.conf.urls.defaults import url, patterns, include from django.conf.urls import url, patterns, include
from django.contrib.auth.models import User, Group from django.contrib.auth.models import User, Group
from rest_framework import viewsets, routers from rest_framework import viewsets, routers