{"action":"created","issue":{"url":"https://api.github.com/repos/byteweaver/django-referral/issues/12","labels_url":"https://api.github.com/repos/byteweaver/django-referral/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/byteweaver/django-referral/issues/12/comments","events_url":"https://api.github.com/repos/byteweaver/django-referral/issues/12/events","html_url":"https://github.com/byteweaver/django-referral/pull/12","id":57453016,"number":12,"title":"Fix referrer name handling.","user":{"login":"rudeb0t","id":936301,"avatar_url":"https://avatars.githubusercontent.com/u/936301?v=3","gravatar_id":"","url":"https://api.github.com/users/rudeb0t","html_url":"https://github.com/rudeb0t","followers_url":"https://api.github.com/users/rudeb0t/followers","following_url":"https://api.github.com/users/rudeb0t/following{/other_user}","gists_url":"https://api.github.com/users/rudeb0t/gists{/gist_id}","starred_url":"https://api.github.com/users/rudeb0t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudeb0t/subscriptions","organizations_url":"https://api.github.com/users/rudeb0t/orgs","repos_url":"https://api.github.com/users/rudeb0t/repos","events_url":"https://api.github.com/users/rudeb0t/events{/privacy}","received_events_url":"https://api.github.com/users/rudeb0t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Akuryou","id":506738,"avatar_url":"https://avatars.githubusercontent.com/u/506738?v=3","gravatar_id":"","url":"https://api.github.com/users/Akuryou","html_url":"https://github.com/Akuryou","followers_url":"https://api.github.com/users/Akuryou/followers","following_url":"https://api.github.com/users/Akuryou/following{/other_user}","gists_url":"https://api.github.com/users/Akuryou/gists{/gist_id}","starred_url":"https://api.github.com/users/Akuryou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akuryou/subscriptions","organizations_url":"https://api.github.com/users/Akuryou/orgs","repos_url":"https://api.github.com/users/Akuryou/repos","events_url":"https://api.github.com/users/Akuryou/events{/privacy}","received_events_url":"https://api.github.com/users/Akuryou/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-12T12:17:15Z","updated_at":"2015-02-18T02:38:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/byteweaver/django-referral/pulls/12","html_url":"https://github.com/byteweaver/django-referral/pull/12","diff_url":"https://github.com/byteweaver/django-referral/pull/12.diff","patch_url":"https://github.com/byteweaver/django-referral/pull/12.patch"},"body":"* Strip leading and trailing whitespace from referrer name. Ignore\r\n  blank referrer names after stripping whitespace.\r\n\r\n* Do not downcase referrer name before using it in the ORM query.\r\n\r\n* Use iexact in ORM query instead.\r\n\r\n* Add REFERRAL_CASE_SENSITIVE option. Defaults to False. Set to True if\r\n  you want case-sensitive referral name lookups."},"comment":{"url":"https://api.github.com/repos/byteweaver/django-referral/issues/comments/74800930","html_url":"https://github.com/byteweaver/django-referral/pull/12#issuecomment-74800930","issue_url":"https://api.github.com/repos/byteweaver/django-referral/issues/12","id":74800930,"user":{"login":"rudeb0t","id":936301,"avatar_url":"https://avatars.githubusercontent.com/u/936301?v=3","gravatar_id":"","url":"https://api.github.com/users/rudeb0t","html_url":"https://github.com/rudeb0t","followers_url":"https://api.github.com/users/rudeb0t/followers","following_url":"https://api.github.com/users/rudeb0t/following{/other_user}","gists_url":"https://api.github.com/users/rudeb0t/gists{/gist_id}","starred_url":"https://api.github.com/users/rudeb0t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudeb0t/subscriptions","organizations_url":"https://api.github.com/users/rudeb0t/orgs","repos_url":"https://api.github.com/users/rudeb0t/repos","events_url":"https://api.github.com/users/rudeb0t/events{/privacy}","received_events_url":"https://api.github.com/users/rudeb0t/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T02:38:53Z","updated_at":"2015-02-18T02:38:53Z","body":"Although I am not sure why the Travis CI build is failing for environment py34-1.6.X because it passes on my local:\r\n\r\n```\r\n$ tox --skip-missing-interpreters\r\nGLOB sdist-make: /Users/nimrod/Projects/web/django-referral/setup.py\r\npy34-1.7.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy34-1.7.X runtests: PYTHONHASHSEED='3001990614'\r\npy34-1.7.X runtests: commands[0] | django-admin.py --version\r\n1.7.4\r\npy34-1.7.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.060s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy27-1.7.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy27-1.7.X runtests: PYTHONHASHSEED='3001990614'\r\npy27-1.7.X runtests: commands[0] | django-admin.py --version\r\n1.7.4\r\npy27-1.7.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.043s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy34-1.6.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy34-1.6.X runtests: PYTHONHASHSEED='3001990614'\r\npy34-1.6.X runtests: commands[0] | django-admin.py --version\r\n1.6.10\r\npy34-1.6.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.046s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy27-1.6.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy27-1.6.X runtests: PYTHONHASHSEED='3001990614'\r\npy27-1.6.X runtests: commands[0] | django-admin.py --version\r\n1.6.10\r\npy27-1.6.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.039s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy34-1.5.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy34-1.5.X runtests: PYTHONHASHSEED='3001990614'\r\npy34-1.5.X runtests: commands[0] | django-admin.py --version\r\n1.5.12\r\npy34-1.5.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.046s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy27-1.5.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy27-1.5.X runtests: PYTHONHASHSEED='3001990614'\r\npy27-1.5.X runtests: commands[0] | django-admin.py --version\r\n1.5.12\r\npy27-1.5.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.040s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\npy27-1.4.X inst-nodeps: /Users/nimrod/Projects/web/django-referral/.tox/dist/django-referral-1.0.0.zip\r\npy27-1.4.X runtests: PYTHONHASHSEED='3001990614'\r\npy27-1.4.X runtests: commands[0] | django-admin.py --version\r\n1.4.19\r\npy27-1.4.X runtests: commands[1] | django-admin.py test referral\r\nCreating test database for alias 'default'...\r\n.............\r\n----------------------------------------------------------------------\r\nRan 13 tests in 0.040s\r\n\r\nOK\r\nDestroying test database for alias 'default'...\r\n___________________________________ summary ____________________________________\r\n  py34-1.7.X: commands succeeded\r\n  py27-1.7.X: commands succeeded\r\n  py34-1.6.X: commands succeeded\r\n  py27-1.6.X: commands succeeded\r\n  py34-1.5.X: commands succeeded\r\n  py27-1.5.X: commands succeeded\r\n  py27-1.4.X: commands succeeded\r\n  congratulations :)\r\n```"}}