mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-26 05:31:07 +03:00 
			
		
		
		
	Import from correct place
This commit is contained in:
		
							parent
							
								
									e8a41322fb
								
							
						
					
					
						commit
						80be571b2e
					
				|  | @ -19,7 +19,8 @@ Using the `APIView` class is pretty much the same as using a regular `View` clas | ||||||
| 
 | 
 | ||||||
| For example: | For example: | ||||||
| 
 | 
 | ||||||
|     from rest_framework.views import APIView, Response |     from rest_framework.views import APIView | ||||||
|  |     from rest_framework.response import Response | ||||||
|     from rest_framework import authentication, permissions |     from rest_framework import authentication, permissions | ||||||
| 
 | 
 | ||||||
|     class ListUsers(APIView): |     class ListUsers(APIView): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user