{"action":"opened","issue":{"url":"https://api.github.com/repos/jsocol/django-ratelimit/issues/58","labels_url":"https://api.github.com/repos/jsocol/django-ratelimit/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/jsocol/django-ratelimit/issues/58/comments","events_url":"https://api.github.com/repos/jsocol/django-ratelimit/issues/58/events","html_url":"https://github.com/jsocol/django-ratelimit/issues/58","id":62552253,"number":58,"title":"key callable only takes one argument but docs say two","user":{"login":"pmclanahan","id":19934,"avatar_url":"https://avatars.githubusercontent.com/u/19934?v=3","gravatar_id":"","url":"https://api.github.com/users/pmclanahan","html_url":"https://github.com/pmclanahan","followers_url":"https://api.github.com/users/pmclanahan/followers","following_url":"https://api.github.com/users/pmclanahan/following{/other_user}","gists_url":"https://api.github.com/users/pmclanahan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmclanahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmclanahan/subscriptions","organizations_url":"https://api.github.com/users/pmclanahan/orgs","repos_url":"https://api.github.com/users/pmclanahan/repos","events_url":"https://api.github.com/users/pmclanahan/events{/privacy}","received_events_url":"https://api.github.com/users/pmclanahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-18T00:47:30Z","updated_at":"2015-03-18T00:47:30Z","closed_at":null,"body":"Actually it looks like a callable passed in is only passed the request, but a dotted string which results in a callable is passed the group also. I thought the docs were wrong, but maybe it's the fact that a callable is only being passed a single argument. Perhaps for backward compatibility you can accept an alternate second param and shuffle if it remains `None`.\r\n\r\nI should have a PR shortly with a recommendation."}}