jones-dev #19

Merged
corbz merged 106 commits from jones-dev into master 2024-01-26 17:39:03 +00:00
Showing only changes of commit eb2c8439fe - Show all commits

View File

@ -214,6 +214,20 @@ MEDIA_URL = '/media/'
#############################################################
#############################################################
REST_FRAMEWORK = {
'DEFAULT_THROTTLE_CLASSES': [
'rest_framework.throttling.AnonRateThrottle',
'rest_framework.throttling.UserRateThrottle'
],
'DEFAULT_THROTTLE_RATES': {
'anon': '100/day',
'user': '1000/day'
}
}
#############################################################
#############################################################
# If route isnt found, try again with appended slash
APPEND_SLASH = True