updated settings
This commit is contained in:
1 parent
f966084407
commit
d3bc2d3b5b
15 files changed
+170
-60
No files matched your search
@@ -0,0 +1,19 @@
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'],
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
# 'durin.auth.TokenAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
),
|
||||
'DEFAULT_PERMISSION_CLASSES': (
|
||||
# 'rest_framework.permissions.IsAuthenticated',
|
||||
),
|
||||
# "DEFAULT_THROTTLE_CLASSES": ["durin.throttling.UserClientRateThrottle"],
|
||||
# 'DEFAULT_THROTTLE_RATES': {
|
||||
# 'anon': '50/day',
|
||||
# 'platinum': '5000/day',
|
||||
# 'gold': '1000/day',
|
||||
# 'silver': '250/day',
|
||||
# 'free': '50/day',
|
||||
# },
|
||||
}
|
||||
Reference in new issue
Block a user