mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Fix "`" typo (#8529)
This commit is contained in:
parent
dba9493a90
commit
2051a79da3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user