drf-api-tracking
drf-api-tracking copied to clipboard
How to apply to all views/viewsets?
Is there any way to log all my api views without adding mixins to each of them?
you could create a derived class with the mixin added and make your views all derive from that new class? On 26 Feb 2021 16:25, Denys [email protected] wrote: Is there any way to log all my api views without adding mixins to each of them?
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
Yeah, but even then I still need to put it manually to all of my views :(