mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-24 04:31:08 +03:00
* Refactor token generation to use secrets module * test: Add focused tests for Token.generate_key() method - Add test for valid token format (40 hex characters) - Add collision resistance test with 500 sample size - Add basic randomness quality validation - Ensure generated keys are unique and properly formatted |
||
|---|---|---|
| .. | ||
| migrations | ||
| __init__.py | ||
| models.py | ||
| test_authentication.py | ||