djangosnippets.org: Latest snippets tagged with 'cell'https://djangosnippets.org/tags/cell/2009-05-25T13:07:24.783175-05:00limit view request rate decorator
2009-05-25T13:07:24.783175-05:00anatoliy.larinhttps://djangosnippets.org/snippets/1524/<p>Limit rate request decorator for view.</p>
<p>Authenificated user can't request decorated view often then timeout.</p>
<p>Usage:</p>
<pre><code>@limit_request_rate(time_beetween_request_sec)
def my_view(request):
...
</code></pre>
<p>get_cell_value from <a href="http://code.activestate.com/recipes/439096/">here</a></p>
Freely redistributable