How to restrict amount of requests for certain view and user? Suppose to be a build-in way...
Asked
Active
Viewed 126 times
0
-
1Related: http://stackoverflow.com/questions/2376072/limit-number-of-views-per-day-in-django – payne Feb 07 '11 at 22:03
-
1And also related: http://stackoverflow.com/questions/1603340/track-the-number-of-page-views-or-hits-of-an-object – payne Feb 07 '11 at 22:03
2 Answers
2
try to look at django-piston. it is a REST API framework for django. there is a throtling decorator. it should be feasible to steal it (get inspired) for your project.
https://bitbucket.org/jespern/django-piston/wiki/Documentation#throttling
hope it helps.

SashaN
- 679
- 4
- 8
1
I don't know if your need is related to authentication ,
if it's the case you can have a look at django-axes

Dominique Guardiola
- 3,431
- 2
- 22
- 22