diff options
| author | Esmail | 2015-03-11 12:00:19 -0400 | 
|---|---|---|
| committer | Esmail | 2015-03-11 12:00:19 -0400 | 
| commit | 2484dbf4e15e2156079b4bcd447b17258649e67f (patch) | |
| tree | b54ed5b4786c77125bb9d93a040efe2e1ba2b4c8 /docs | |
| parent | 42ee8e147c9cafe57fb87c264268cba887cbe198 (diff) | |
| download | django-rest-framework-2484dbf4e15e2156079b4bcd447b17258649e67f.tar.bz2 | |
Fix example of explicit format URL (for real).
Do what I meant to do in #2670:
The link is displayed in the tutorial as "http://example.com/api/items/4.json" but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json".
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index e2c173d6..2cad1e5d 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -200,7 +200,7 @@ See the [browsable api][browsable-api] topic for more information about the brow  In [tutorial part 3][tut-3], we'll start using class based views, and see how generic views reduce the amount of code we need to write. -[json-url]: http://example.com/api/items/4.json +[json-url]: http://example.com/api/items/4/.json  [devserver]: http://127.0.0.1:8000/snippets/  [browsable-api]: ../topics/browsable-api.md  [tut-1]: 1-serialization.md | 
