Skip to content

Instantly share code, notes, and snippets.

@egitimplus
Created October 18, 2020 00:04
Show Gist options
  • Save egitimplus/ffd9dbb07d23401f0ed346b0a2763867 to your computer and use it in GitHub Desktop.
Save egitimplus/ffd9dbb07d23401f0ed346b0a2763867 to your computer and use it in GitHub Desktop.
REST_FRAMEWORK = {
'DEFAULT_FILTER_BACKENDS': [
'django_filters.rest_framework.DjangoFilterBackend'
],
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework_simplejwt.authentication.JWTAuthentication',
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment