update installation example to work with django 1.6

looks like django.conf.urls.defaults was deprecated as of django 1.6
This commit is contained in:
Andy Wilson 2013-12-06 22:31:07 -06:00
parent 910de38a9c
commit db19fba50d

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.
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 rest_framework import viewsets, routers