{"action":"created","issue":{"url":"https://api.github.com/repos/aschn/drf-tracking/issues/17","repository_url":"https://api.github.com/repos/aschn/drf-tracking","labels_url":"https://api.github.com/repos/aschn/drf-tracking/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/aschn/drf-tracking/issues/17/comments","events_url":"https://api.github.com/repos/aschn/drf-tracking/issues/17/events","html_url":"https://github.com/aschn/drf-tracking/pull/17","id":130503542,"number":17,"title":"Define methods to be logged explicitly","user":{"login":"zatarus","id":11981788,"avatar_url":"https://avatars.githubusercontent.com/u/11981788?v=3","gravatar_id":"","url":"https://api.github.com/users/zatarus","html_url":"https://github.com/zatarus","followers_url":"https://api.github.com/users/zatarus/followers","following_url":"https://api.github.com/users/zatarus/following{/other_user}","gists_url":"https://api.github.com/users/zatarus/gists{/gist_id}","starred_url":"https://api.github.com/users/zatarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zatarus/subscriptions","organizations_url":"https://api.github.com/users/zatarus/orgs","repos_url":"https://api.github.com/users/zatarus/repos","events_url":"https://api.github.com/users/zatarus/events{/privacy}","received_events_url":"https://api.github.com/users/zatarus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-01T22:24:26Z","updated_at":"2016-04-09T21:19:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aschn/drf-tracking/pulls/17","html_url":"https://github.com/aschn/drf-tracking/pull/17","diff_url":"https://github.com/aschn/drf-tracking/pull/17.diff","patch_url":"https://github.com/aschn/drf-tracking/pull/17.patch"},"body":"That puts a mixin option to choose request methods to be logged. If not provided, all requests are logged as usual.\r\n\r\nUsage:\r\n```python\r\nclass LoggingView(LoggingMixin, generics.CreateModelMixin, generics.GenericAPIView):\r\n    logging_methods = ['POST', 'PUT']\r\n    model = ...\r\n```"},"comment":{"url":"https://api.github.com/repos/aschn/drf-tracking/issues/comments/207855290","html_url":"https://github.com/aschn/drf-tracking/pull/17#issuecomment-207855290","issue_url":"https://api.github.com/repos/aschn/drf-tracking/issues/17","id":207855290,"user":{"login":"zatarus","id":11981788,"avatar_url":"https://avatars.githubusercontent.com/u/11981788?v=3","gravatar_id":"","url":"https://api.github.com/users/zatarus","html_url":"https://github.com/zatarus","followers_url":"https://api.github.com/users/zatarus/followers","following_url":"https://api.github.com/users/zatarus/following{/other_user}","gists_url":"https://api.github.com/users/zatarus/gists{/gist_id}","starred_url":"https://api.github.com/users/zatarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zatarus/subscriptions","organizations_url":"https://api.github.com/users/zatarus/orgs","repos_url":"https://api.github.com/users/zatarus/repos","events_url":"https://api.github.com/users/zatarus/events{/privacy}","received_events_url":"https://api.github.com/users/zatarus/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T21:19:36Z","updated_at":"2016-04-09T21:19:36Z","body":"Sure thing, I will add a case shortly."}}