We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a77a5 commit ddf260aCopy full SHA for ddf260a
MailingService/settings.py
@@ -35,6 +35,7 @@
35
'django.contrib.sessions',
36
'django.contrib.messages',
37
'django.contrib.staticfiles',
38
+ 'rest_framework',
39
'mail.apps.MailConfig',
40
]
41
@@ -67,6 +68,15 @@
67
68
},
69
70
71
+REST_FRAMEWORK = {
72
+ 'DEFAULT_FILTER_BACKENDS': [
73
+ 'django_filters.rest_framework.DjangoFilterBackend'
74
+ ],
75
+ 'DEFAULT_AUTHENTICATION_CLASSES': [
76
+ 'rest_framework_simplejwt.authentication.JWTAuthentication',
77
78
+}
79
+
80
WSGI_APPLICATION = 'MailingService.wsgi.application'
81
82
# Database
0 commit comments