{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/nyc-trees/issues/271","labels_url":"https://api.github.com/repos/azavea/nyc-trees/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/azavea/nyc-trees/issues/271/comments","events_url":"https://api.github.com/repos/azavea/nyc-trees/issues/271/events","html_url":"https://github.com/azavea/nyc-trees/pull/271","id":53765701,"number":271,"title":"Make application UI visible in test mode","user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kdeloach","id":43062,"avatar_url":"https://avatars.githubusercontent.com/u/43062?v=3","gravatar_id":"","url":"https://api.github.com/users/kdeloach","html_url":"https://github.com/kdeloach","followers_url":"https://api.github.com/users/kdeloach/followers","following_url":"https://api.github.com/users/kdeloach/following{/other_user}","gists_url":"https://api.github.com/users/kdeloach/gists{/gist_id}","starred_url":"https://api.github.com/users/kdeloach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdeloach/subscriptions","organizations_url":"https://api.github.com/users/kdeloach/orgs","repos_url":"https://api.github.com/users/kdeloach/repos","events_url":"https://api.github.com/users/kdeloach/events{/privacy}","received_events_url":"https://api.github.com/users/kdeloach/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-08T15:56:28Z","updated_at":"2015-01-08T16:16:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/nyc-trees/pulls/271","html_url":"https://github.com/azavea/nyc-trees/pull/271","diff_url":"https://github.com/azavea/nyc-trees/pull/271.diff","patch_url":"https://github.com/azavea/nyc-trees/pull/271.patch"},"body":"This changeset adds an entry to `ALLOWED_HOSTS` so that the application UI can be viewed in test mode. My understanding is that test mode disables Django's debug mode, which triggers `ALLOWED_HOSTS` filtering."},"comment":{"url":"https://api.github.com/repos/azavea/nyc-trees/issues/comments/69202986","html_url":"https://github.com/azavea/nyc-trees/pull/271#issuecomment-69202986","issue_url":"https://api.github.com/repos/azavea/nyc-trees/issues/271","id":69202986,"user":{"login":"hectcastro","id":43639,"avatar_url":"https://avatars.githubusercontent.com/u/43639?v=3","gravatar_id":"","url":"https://api.github.com/users/hectcastro","html_url":"https://github.com/hectcastro","followers_url":"https://api.github.com/users/hectcastro/followers","following_url":"https://api.github.com/users/hectcastro/following{/other_user}","gists_url":"https://api.github.com/users/hectcastro/gists{/gist_id}","starred_url":"https://api.github.com/users/hectcastro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectcastro/subscriptions","organizations_url":"https://api.github.com/users/hectcastro/orgs","repos_url":"https://api.github.com/users/hectcastro/repos","events_url":"https://api.github.com/users/hectcastro/events{/privacy}","received_events_url":"https://api.github.com/users/hectcastro/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T16:16:32Z","updated_at":"2015-01-08T16:16:32Z","body":"@kdeloach was talking about scenarios where it would be convenient to view the application UI when using the Django test settings (debugging a failing test, adding new ones). This is unrelated to the live server workflow; meant to be a change to aid human interaction with the application.\r\n\r\nI'll leave it to Kevin to expand on the scenarios he was encountering."}}