Django-token-bucket

Latest version: v0.2.4

Safety actively analyzes 619401 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.0

0.2.4

0.2.3

Bugfixes/Feature Updates

* Allow `tz` object to be of type `str` (2561660db11fa524283cb203887f8d0890ba1459)

0.2.2

Bugfixes

* Fix the migration for new databases (https://github.com/fsinfuhh/Bitpoll/issues/55).

0.2.1

New

* added a `get_message(tz=None)` to the TokensExceeded exception to get the error message in a more clean way

0.2

* The referenced object can be any Django model object not only the user.
* Fix bug from pre-release

Braking Change:
- The second parameter of the get function is now called `ref_object` (was `user`)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.