{"action":"opened","issue":{"url":"https://api.github.com/repos/hmslincs/hmslincs/issues/328","labels_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/328/comments","events_url":"https://api.github.com/repos/hmslincs/hmslincs/issues/328/events","html_url":"https://github.com/hmslincs/hmslincs/issues/328","id":75797919,"number":328,"title":"db: fixup error codes resulting in HTTP 404","user":{"login":"seanderickson","id":1074001,"avatar_url":"https://avatars.githubusercontent.com/u/1074001?v=3","gravatar_id":"","url":"https://api.github.com/users/seanderickson","html_url":"https://github.com/seanderickson","followers_url":"https://api.github.com/users/seanderickson/followers","following_url":"https://api.github.com/users/seanderickson/following{/other_user}","gists_url":"https://api.github.com/users/seanderickson/gists{/gist_id}","starred_url":"https://api.github.com/users/seanderickson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanderickson/subscriptions","organizations_url":"https://api.github.com/users/seanderickson/orgs","repos_url":"https://api.github.com/users/seanderickson/repos","events_url":"https://api.github.com/users/seanderickson/events{/privacy}","received_events_url":"https://api.github.com/users/seanderickson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T01:02:23Z","updated_at":"2015-05-13T01:02:23Z","closed_at":null,"body":"In https://github.com/hmslincs/hmslincs/blob/master/django/db/views.py\r\n    - adjust DoesNotExist caught exception to be more general, i.e. https://github.com/hmslincs/hmslincs/blob/master/django/db/views.py#L693\r\n    - fix error condition, raise 404 instead of assertion: i.e. https://github.com/hmslincs/hmslincs/blob/master/django/db/views.py#L3351\r\n\r\n-- Django views should not raise uncaught exceptions in production; in these cases HTTP 404 will be raised instead."}}