Skip to content

Commit 39876e6

Browse files
authored
Merge pull request encode#7061 from b0uh/doc-remove-old-ref
[Doc] Remove the old reference to `JSONResponse`
2 parents a73d3c3 + adaf97a commit 39876e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ The wrappers also provide behaviour such as returning `405 Method Not Allowed` r
3333

3434
## Pulling it all together
3535

36-
Okay, let's go ahead and start using these new components to write a few views.
37-
38-
We don't need our `JSONResponse` class in `views.py` any more, so go ahead and delete that. Once that's done we can start refactoring our views slightly.
36+
Okay, let's go ahead and start using these new components to refactor our views slightly.
3937

4038
from rest_framework import status
4139
from rest_framework.decorators import api_view

0 commit comments

Comments
 (0)