Here I will be demonstrating a simple way to track API-endpoints hits in Django. First, let’s build our ActivityLog model As the model is self-explanatory, here actor refers to the user performing the action of different operations like create, update, login, etc
And for the “generic” relationships between our ActivityLog…