diff options
| author | Andy Wilson | 2013-12-06 22:31:07 -0600 |
|---|---|---|
| committer | Andy Wilson | 2013-12-06 22:31:07 -0600 |
| commit | db19fba50d65c1093efa25bd5ed1230b6404c8ca (patch) | |
| tree | b5a53e1e709face19946ab4050cbf565f696092e /docs/index.md | |
| parent | 910de38a9c8cd03243e738c8f4adcbade8a4d7d6 (diff) | |
| download | django-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
Diffstat (limited to 'docs/index.md')
| -rw-r--r-- | docs/index.md | 2 |
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 |
