Xenon Xenon - 2 years ago 88
Python Question

TastyPie throttling - by user or by IP?

I can't seem to find any information on what TastyPie throttles based on. Is it by the IP of the request, or by the actual Django user object?

Answer Source

Throttle key is based on authentication.get_identifier function.

Default implementation of this function returns a combination of IP address and hostname.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download