diff options
| author | Tom Christie | 2012-09-03 16:06:17 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-09-03 16:06:17 +0100 | 
| commit | 93189ec27d53d3216d452abdc2711e973a888d0c (patch) | |
| tree | 4f21c9f2e9817fb2177d81b229fb03083e39de02 /docs/tutorial/2-requests-and-responses.md | |
| parent | 149b00a070fcbfd44feee5b37096081e18356f93 (diff) | |
| download | django-rest-framework-93189ec27d53d3216d452abdc2711e973a888d0c.tar.bz2 | |
Added format_suffix_patterns, and fix up settings
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index 9309f6e0..4ff303ae 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -111,6 +111,7 @@ and  Now update the `urls.py` file slightly, to append a set of `format_suffix_patterns` in addition to the existing URLs. +    from django.conf.urls import patterns, url      from djangorestframework.urlpatterns import format_suffix_patterns      urlpatterns = patterns('blogpost.views', | 
