Fix "`" typo

This commit is contained in:
Yuekui 2022-06-17 17:22:02 -07:00 committed by GitHub
parent 2506d0b4f2
commit 80c81dddbd
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