aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Wilson2013-12-06 22:31:07 -0600
committerAndy Wilson2013-12-06 22:31:07 -0600
commitdb19fba50d65c1093efa25bd5ed1230b6404c8ca (patch)
treeb5a53e1e709face19946ab4050cbf565f696092e
parent910de38a9c8cd03243e738c8f4adcbade8a4d7d6 (diff)
downloaddjango-rest-framework-db19fba50d65c1093efa25bd5ed1230b6404c8ca.tar.bz2
update installation example to work with django 1.6
looks like django.conf.urls.defaults was deprecated as of django 1.6
-rw-r--r--docs/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.md b/docs/index.md
index 3e5adbc4..badd6f60 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -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