Note that because we want to be able to POST to this view from clients that won't have a CSRF token we need to mark the view as `csrf_exempt`. This isn't something that you'd normally want to do, and REST framework views actually use more sensible behavior than this, but it'll do for our purposes right now.
...
...
@@ -290,8 +289,7 @@ We'll also need a view which corresponds to an individual snippet, and can be us
Our instance view is an improvement over the previous example. It's a little more concise, and the code now feels very similar to if we were working with the Forms API. We're also using named status codes, which makes the response meanings more obvious.
...
...
@@ -85,8 +84,7 @@ Here is the view for an individual snippet, in the `views.py` module.