Configuration

django.conf.settings.THROTTLE_ENABLED
Default:not settings.DEBUG

Optional boolean value that is used to control whether or not throttling is enforced. To test throttling when DEBUG is True, you must also explicitly set THROTTLE_ENABLED = True.

django.conf.settings.THROTTLE_BACKEND

The path to the class that implements the backend storage mechanism for per-user request counts.

django.conf.settings.THROTTLE_ZONES

A dictionary that contains definitions of the rate limiting rules for your application.