Created
          August 6, 2022 11:29 
        
      - 
      
- 
        Save Angeloem/1efb70f5702863f5831c6c91cf8c7bdd to your computer and use it in GitHub Desktop. 
    rest framework settings
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | REST_FRAMEWORK = { | |
| 'DEFAULT_PERMISSION_CLASSES': ( | |
| 'rest_framework.permissions.IsAuthenticated', | |
| ), | |
| 'DEFAULT_AUTHENTICATION_CLASSES': ( | |
| 'budgeter_api.shared.auth.JWTAuthentication', | |
| ), | |
| 'DEFAULT_RENDERER_CLASSES': ( | |
| 'rest_framework.renderers.JSONRenderer', | |
| ), | |
| 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'] | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment