{"action":"opened","issue":{"url":"https://api.github.com/repos/un33k/django-ipware/issues/11","labels_url":"https://api.github.com/repos/un33k/django-ipware/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/un33k/django-ipware/issues/11/comments","events_url":"https://api.github.com/repos/un33k/django-ipware/issues/11/events","html_url":"https://github.com/un33k/django-ipware/issues/11","id":118418599,"number":11,"title":"get_ip() fails if any meta field from IPWARE_META_PRECEDENCE_LIST is None","user":{"login":"HageMaster3108","id":6841412,"avatar_url":"https://avatars.githubusercontent.com/u/6841412?v=3","gravatar_id":"","url":"https://api.github.com/users/HageMaster3108","html_url":"https://github.com/HageMaster3108","followers_url":"https://api.github.com/users/HageMaster3108/followers","following_url":"https://api.github.com/users/HageMaster3108/following{/other_user}","gists_url":"https://api.github.com/users/HageMaster3108/gists{/gist_id}","starred_url":"https://api.github.com/users/HageMaster3108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HageMaster3108/subscriptions","organizations_url":"https://api.github.com/users/HageMaster3108/orgs","repos_url":"https://api.github.com/users/HageMaster3108/repos","events_url":"https://api.github.com/users/HageMaster3108/events{/privacy}","received_events_url":"https://api.github.com/users/HageMaster3108/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T16:29:42Z","updated_at":"2015-11-23T16:29:42Z","closed_at":null,"body":"Hi there,\r\n\r\nif any of the META keys in IPWARE_META_PRECEDENCE_LIST happens to be undefined/None, get_ip() fails.\r\n\r\n```\r\nTraceback:\r\nFile \"/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/django/core/handlers/base.py\" in get_response\r\n  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\nFile \"/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/django/views/decorators/csrf.py\" in wrapped_view\r\n  58.         return view_func(*args, **kwargs)\r\nFile \"/Users/patrick/Dev/ib-main/cms/views.py\" in fallback_upload_view\r\n  192.                 queue.client_ip = get_ip(request)\r\nFile \"/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/ipware/ip.py\" in get_ip\r\n  14.         value = request.META.get(key, '').strip()\r\n\r\n```\r\nWill send a pull request..."}}