From 481c7d50b75be3700bab0b70f8079a5b8fb9e8a9 Mon Sep 17 00:00:00 2001 From: Karthik Hanasoge Suresh Date: Thu, 3 Oct 2019 21:48:26 +0200 Subject: [PATCH] Maintaining uniformity in documentation highlight Highlighting `views.py file` for quicker and easier reference. Fixes #6965 --- docs/tutorial/4-authentication-and-permissions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md index 6808780fa..451c54ccf 100644 --- a/docs/tutorial/4-authentication-and-permissions.md +++ b/docs/tutorial/4-authentication-and-permissions.md @@ -121,7 +121,7 @@ Now that code snippets are associated with users, we want to make sure that only REST framework includes a number of permission classes that we can use to restrict who can access a given view. In this case the one we're looking for is `IsAuthenticatedOrReadOnly`, which will ensure that authenticated requests get read-write access, and unauthenticated requests get read-only access. -First add the following import in the views module +First add the following import in the `views.py` file from rest_framework import permissions