aschn / drf-tracking

Utils to track requests to Django Rest Framework API views
http://drf-tracking.readthedocs.org/
ISC License
366 stars 95 forks source link

API Log Integrity #147

Open cyclops26 opened 4 years ago

cyclops26 commented 4 years ago

Added support for persistent usernames (if user model object is deleted). Added support for the log to be read-only in Django admin. Defaults are configured for full legacy support.

These are two "security" related patches that I find myself constantly backloading into projects with this package. Figured I would clean it up into something that others might find useful.

cyclops26 commented 4 years ago

Tests fail across the board due to PyYAML having dropped support for Python 3 < 3.5.0.

lingster commented 4 years ago

@cyclops26 : if you would like to submit this PR into https://github.com/lingster/drf-api-tracking I can merge and deploy this for you as I've just taken up the challenge to maintain this project.

cyclops26 commented 4 years ago

@lingster Let me rebase to your fork and I will send a PR.