Fix "`" typo (#8529)

This commit is contained in:
Yuekui 2022-06-24 04:08:18 -07:00 committed by GitHub
parent dba9493a90
commit 2051a79da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ class ScopedRateThrottle(SimpleRateThrottle):
If `view.throttle_scope` is not set, don't apply this throttle. If `view.throttle_scope` is not set, don't apply this throttle.
Otherwise generate the unique cache key by concatenating the user id Otherwise generate the unique cache key by concatenating the user id
with the '.throttle_scope` property of the view. with the `.throttle_scope` property of the view.
""" """
if request.user.is_authenticated: if request.user.is_authenticated:
ident = request.user.pk ident = request.user.pk