- Clone the project, run
pipenv install
inside the created directory. pipenv shell
- Apply the migrations.
- Create a superuser.
- Access the browsable API and login with your admin user.
- Go to
your_host:port/api/login
- Try a post with
{"username": "your_admin_username", "password": "your_admin_password"}
- Repeat it a few times, there shouldn't be any sign of throttling.
For reference, go to your_host:port/api/throttled
and just refresh a few times to see expected throttling behaviour.
Note: For testing purposes I set the anon
rate to 1/min
.