Skip to content

Commit adaf97a

Browse files
author
Thomas Loiret
committed
Remove the old reference to JSONResponse
1 parent a73d3c3 commit adaf97a

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)