-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/audit log #323
Feature/audit log #323
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #323 +/- ##
==========================================
- Coverage 96.85% 96.61% -0.24%
==========================================
Files 113 113
Lines 5280 5322 +42
Branches 282 287 +5
==========================================
+ Hits 5114 5142 +28
- Misses 134 146 +12
- Partials 32 34 +2
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -37,3 +38,59 @@ def get_serializer_class(self): | |||
if self.request.user.is_staff and not self.request.user.should_deny_admin(): | |||
return self.admin_serializer_class | |||
return self.serializer_class | |||
|
|||
|
|||
class AuditLoggedViewSet(ModelViewSet): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be better as a Mixin style class?
* Pin to python3.10 and fix pyyaml * backend work for leaderboard groups * lol * return names * add uritemplate * Upgrade uvicorn to use a version of websockets from this decade * Add audit logging --------- Co-authored-by: Ada Cooke <[email protected]>
No description provided.