mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 18:08:03 +03:00 
			
		
		
		
	Merge pull request #1552 from dpetzel/permissions_guide_response_typo
very minor typo in code example
This commit is contained in:
		
						commit
						ce2e55a513
					
				| 
						 | 
					@ -56,7 +56,7 @@ You can also set the authentication policy on a per-view, or per-viewset basis,
 | 
				
			||||||
using the `APIView` class based views.
 | 
					using the `APIView` class based views.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    from rest_framework.permissions import IsAuthenticated
 | 
					    from rest_framework.permissions import IsAuthenticated
 | 
				
			||||||
	from rest_framework.responses import Response
 | 
						from rest_framework.response import Response
 | 
				
			||||||
	from rest_framework.views import APIView
 | 
						from rest_framework.views import APIView
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    class ExampleView(APIView):
 | 
					    class ExampleView(APIView):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user