drf-tracking icon indicating copy to clipboard operation
drf-tracking copied to clipboard

How to add this logging view to function based view

Open amankumarjain opened this issue 7 years ago • 3 comments

is there any decorator to use it with functin based view?

amankumarjain avatar Mar 17 '17 22:03 amankumarjain

@amankumarjain At the moment a decorator does not exist. Since, this library follows Django Rest Framework it is designed to be directly used as a class mixin. I am open to the idea but it would have to stay within the purview of DRF.

avelis avatar Mar 20 '17 02:03 avelis

how to use it with function base view is it possible to use it with function base api view.

pawanvirsingh avatar Jul 11 '17 09:07 pawanvirsingh

@avelis Hi there, is there any chance there are now decorators for function based views to use drf-tracking?

seanchater avatar Oct 19 '23 11:10 seanchater