Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage.rst in document #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

fanrenkong
Copy link

In the "Using Django Ratelimit" section of the original document, it is explained that the decorator can limit HTTP methods. ratelimt.All represents all HTTP methods, and ratelimit.UNSAFE represents ('POST', 'PUT', 'PATCH', 'DELETE'). However, when upgrading from version 3.x to 4.0, imports should be renamed from from ratelimit to from django_ratelimit, so the document needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant