aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2013-12-07 05:20:41 -0800
committerTom Christie2013-12-07 05:20:41 -0800
commit14ae3012545561337f4f3e4807361bb4ec2c9ec9 (patch)
treeb5a53e1e709face19946ab4050cbf565f696092e /docs
parent910de38a9c8cd03243e738c8f4adcbade8a4d7d6 (diff)
parentdb19fba50d65c1093efa25bd5ed1230b6404c8ca (diff)
downloaddjango-rest-framework-14ae3012545561337f4f3e4807361bb4ec2c9ec9.tar.bz2
Merge pull request #1274 from wilsaj/patch-1
docfix: update installation example to work with django 1.6
Diffstat (limited to 'docs')
-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