Answer the question
In order to leave comments, you need to log in
How to implement the appearance of recaptcha during flooding as in VK?
When flooding, for example, with messages in VK, a sign with a recaptcha appears. How can this be done using python + django?
The essence of the question is how to track what the user is dudosing))
Answer the question
In order to leave comments, you need to log in
Write a middleware that caches the request time and number for each session (if there is one) or for each IP address (if there is no session) and checks against this cache that the current request does not come too often.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question