Merge pull request #7539 from verhovsky/patch-2

Correct indentation
This commit is contained in:
Xavier Ordoquy 2020-10-06 13:04:08 +02:00 committed by GitHub
commit d635bc9c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,7 +169,7 @@ To override the default settings, REST framework provides a set of additional de
from rest_framework.throttling import UserRateThrottle
class OncePerDayUserThrottle(UserRateThrottle):
rate = '1/day'
rate = '1/day'
@api_view(['GET'])
@throttle_classes([OncePerDayUserThrottle])