Skip to content

Commit 2484dbf

Browse files
committed
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".
1 parent 42ee8e1 commit 2484dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/2-requests-and-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ See the [browsable api][browsable-api] topic for more information about the brow
200200

201201
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.
202202

203-
[json-url]: http://example.com/api/items/4.json
203+
[json-url]: http://example.com/api/items/4/.json
204204
[devserver]: http://127.0.0.1:8000/snippets/
205205
[browsable-api]: ../topics/browsable-api.md
206206
[tut-1]: 1-serialization.md

0 commit comments

Comments
 (0)