{"comment":{"url":"https://api.github.com/repos/aaugustin/django/comments/13134105","html_url":"https://github.com/aaugustin/django/commit/c71c81d569d962270edb223b96f4eb7df420e3f7#commitcomment-13134105","id":13134105,"user":{"login":"aaugustin","id":788910,"avatar_url":"https://avatars.githubusercontent.com/u/788910?v=3","gravatar_id":"","url":"https://api.github.com/users/aaugustin","html_url":"https://github.com/aaugustin","followers_url":"https://api.github.com/users/aaugustin/followers","following_url":"https://api.github.com/users/aaugustin/following{/other_user}","gists_url":"https://api.github.com/users/aaugustin/gists{/gist_id}","starred_url":"https://api.github.com/users/aaugustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaugustin/subscriptions","organizations_url":"https://api.github.com/users/aaugustin/orgs","repos_url":"https://api.github.com/users/aaugustin/repos","events_url":"https://api.github.com/users/aaugustin/events{/privacy}","received_events_url":"https://api.github.com/users/aaugustin/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"c71c81d569d962270edb223b96f4eb7df420e3f7","created_at":"2015-09-09T12:02:21Z","updated_at":"2015-09-09T12:02:21Z","body":"I didn't document it because it's a bit of a hack. It exists only because Django has API that are incredibly hard to test in isolation. If there's a lot of demand, perhaps we'll document it, but I'd rather encourage people to write testable code (e.g. mocking or dependency injection)."}}