What is the best way to limit form submissions in Django? The form should be only submitted 5 times from the same IP in one hour, is there a way to do that in Django?
I tried Django Ratelimit but it doesn't really work, because the traffic doesn't get blocked.
CodePudding user response:
Follow up answer.
I used Memcache to check if a user submitted the same form more than five times in a specific timeframe. Worked very well and is quite simple to do.