Sergei Kliuikov
358db1a811
Fix(docs): Add links for popular objects to inventory.
2024-11-07 20:58:10 -08:00
Shyamkumar Yadav
20d347a806
Docs: Convert all tabs into spaces ( #8692 )
2022-10-12 11:23:45 +01:00
Aarni Koskela
b1004a4733
docs: Add a note on concurrency and races ( #6950 )
...
Refs #5181
Co-authored-by: Adam Johnson <me@adamj.eu>
2022-04-24 23:16:18 +01:00
Tom Christie
75f1998123
Update throttling docs ( #8424 )
2022-03-23 11:52:26 +00:00
Tom Christie
0e3bc2b1e0
Throttling disclaimer ( #8403 )
...
* Throttling disclaimer
* Expand throttling disclaimer.
2022-03-11 10:58:59 +00:00
Megan Gross
606df83885
Update throttling.md ( #7606 )
...
There were recent updates to the `@action` decorator calling a little more attention to the kwargs it accepts.
I thought it would be useful to also provide an example in the throttling section of how those kwargs can be used to define/override throttle_classes through the action decorator as well.
2020-11-05 09:43:45 +01:00
Luke Plant
f0dbf0a264
Update docs to use lists instead of tuples ( #6797 )
2019-07-12 18:15:36 -07:00
Ryan P Kilby
82c2b5c3e7
Update mkdocs ( #6769 )
2019-06-30 19:04:36 -07:00
Min ho Kim
72de94a05d
Fix typos in docs ( #6747 )
2019-06-18 12:58:01 -07:00
Tanner Prestegard
abf07e672e
Fix throttling documentation for specifying alternate caches ( #6446 )
2019-02-06 21:26:09 +01:00
Shreyans Sheth
e3f9c65362
Updated Rate Limiting Cite
...
The current link was broken, fixed it. A good article on rate limiting indeed.
2018-03-19 14:24:21 +05:30
Jon Dufresne
d3f3c3d9c1
Prefer https protocol for links in docs when available
2018-01-15 15:15:21 +01:00
Jozef
7037ce88e9
Fix throttling documentation about Remote-Addr ( #5414 )
...
Clarify in docs that REMOTE_ADDR is part of the WSGI environ, not an HTTP header.
2017-09-12 12:08:32 +01:00
Daniel Rech
761d53e923
Updated Link ti Django Docs
...
The Url to the settings/#caches Link changed in Django documentation.
2016-12-05 11:36:03 +01:00
Xavier Ordoquy
22578525ef
Documentation update ( #4717 )
2016-11-30 12:58:34 +00:00
Jakub Moliński
80bd3b9722
[documentation] Throttling random request code example fix ( #4451 )
2016-08-30 10:37:48 +01:00
Tom Christie
febaa4db00
Add import in docs. [ci skip]
2016-08-08 09:28:15 +01:00
Kenneth Schnall
ff5cfe3e84
Replace "class based views" occurrences with "class-based views" ( #4251 )
2016-07-08 08:38:50 +01:00
Andrew
f60c0e99f6
Small doc typo throttles
--> throttling
2015-10-01 14:25:04 +07:00
Rubén Díaz
671de792e2
Fixed typo in ScopedRateThrottle example views
2015-09-10 10:19:40 +03:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Brett Koonce
b44def4650
minor spelling tweaks
2014-11-06 23:19:26 -08:00
Tom Christie
19b8f779de
Throttles now use Retry-After header and no longer support the custom style
2014-09-11 20:43:44 +01:00
Tom Christie
e385a7b8eb
Merge master
2014-08-19 10:11:10 +01:00
Rob Terhaar
3217842346
minor doc fix, @api_view() needs an iterable
2014-08-06 18:55:08 -04:00
Xavier Ordoquy
d08536ad9d
Merge remote-tracking branch 'origin/master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/fields.md
docs/api-guide/routers.md
docs/topics/release-notes.md
rest_framework/authentication.py
rest_framework/serializers.py
rest_framework/templatetags/rest_framework.py
rest_framework/tests/test_authentication.py
rest_framework/tests/test_filters.py
rest_framework/tests/test_hyperlinkedserializers.py
rest_framework/tests/test_serializer.py
rest_framework/tests/test_testing.py
rest_framework/utils/encoders.py
tox.ini
2014-04-13 00:05:57 +02:00
Bo Peng
6f4c2c6f05
Update throttling.md
...
Added comma to make DEFAULT_THROTTLE_CLASSES a tuple in example, for copy&paste to work nicely.
2014-02-14 13:47:06 -06:00
Tom Christie
9c41c007af
Merge branch 'master' into 2.4.0
...
Conflicts:
.travis.yml
docs/api-guide/routers.md
docs/topics/release-notes.md
rest_framework/compat.py
2013-12-13 16:32:34 +00:00
Tom Christie
ed931b90ae
Further docs tweaks
2013-12-13 00:11:59 +00:00
Tom Christie
83da4949c0
Allow NUM_PROXIES=0 and include more docs
2013-12-13 00:02:18 +00:00
kahnjw
887da7f6c5
Add missing tick marks
2013-12-06 14:30:33 -08:00
kahnjw
196c5952e4
Fix typo
2013-12-06 14:24:16 -08:00
kahnjw
100a933279
Add documentation to explain what effect these changes have.
2013-12-06 14:22:08 -08:00
Doron Pearl
8a1d327579
corrected doc for throttle_classes decorator
...
the decorator actually expects an array and otherwise raise an exception.
2013-09-30 14:08:46 -04:00
Tom Christie
97b52156cc
Added .cache
attribute on throttles.
...
Closes #1066 . More localised than a new settings key, and more
flexible in that different throttles can use different behavior.
Thanks to @chicheng for the report! :)
2013-08-28 13:34:14 +01:00
Tom Christie
5e40e50f2b
Include import paths throughout docs.
...
Closes #1051 . Thanks to @pydanny for the report.
2013-08-21 19:46:09 +01:00
Will Kahn-Greene
3fbb4097e6
Fix *Throttle class names in the docs
...
* AnonThrottle -> AnonRateThrottle
* UserThrottle -> UserRateThrottle
* ScopedThrottle -> ScopedRateThrottle
* (cosmetic) removed one errant whitespace character
Fixes #1006 .
2013-07-25 12:56:47 -04:00
Tom Christie
e301e2d974
Adding 'view or viewset' to docs appropriate.
2013-04-26 14:03:26 +01:00
Tom Christie
618606888a
Mention caching. Closes #659 .
2013-02-15 09:27:37 +00:00
Tom Christie
99ef0bcad9
Tweak description of example throttle.
2013-01-28 07:37:15 +00:00
Tom Christie
cb219fa04f
Example custom throttle. Fixes #300 .
2013-01-28 07:30:28 +00:00
Otto Yiu
96dc9ce1ad
Fixing documentation on auth/throttling guides
2012-10-31 21:27:21 -07:00
Stephan Groß
741b387f35
fixed missplaced semicolon
2012-10-29 09:22:20 +01:00
Stephan Groß
5164f5d797
fixed missplaced semicolon
2012-10-29 09:21:27 +01:00
Stephan Groß
46e546ff23
fixed missplaced semicolon
2012-10-29 09:20:14 +01:00
Marko Tibold
71a93930fd
Fixing spelling errors.
2012-10-21 16:34:07 +02:00
Tom Christie
fed235dd01
Make settings consistent with corrosponding view attributes
2012-10-17 23:09:11 +01:00
Tom Christie
cab4a2a5ad
Split up doc sections more cleanly
2012-10-17 15:41:57 +01:00
Tom Christie
9c1fba3483
Tweak parsers to take parser_context
2012-10-15 13:27:50 +01:00
Tom Christie
ccd2b0117d
Permissions and throttles no longer have a view attribute on self. Explicitly passed to .has_permissions(request, view, obj=None) / .allow_request(request, view)
2012-10-10 10:02:37 +01:00