{"action":"created","issue":{"url":"https://api.github.com/repos/lamby/django-slack/issues/9","labels_url":"https://api.github.com/repos/lamby/django-slack/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/lamby/django-slack/issues/9/comments","events_url":"https://api.github.com/repos/lamby/django-slack/issues/9/events","html_url":"https://github.com/lamby/django-slack/issues/9","id":108004103,"number":9,"title":"[Feature request] Ability to post a slack message to a slack incoming-webhook url.","user":{"login":"avelis","id":181597,"avatar_url":"https://avatars.githubusercontent.com/u/181597?v=3","gravatar_id":"","url":"https://api.github.com/users/avelis","html_url":"https://github.com/avelis","followers_url":"https://api.github.com/users/avelis/followers","following_url":"https://api.github.com/users/avelis/following{/other_user}","gists_url":"https://api.github.com/users/avelis/gists{/gist_id}","starred_url":"https://api.github.com/users/avelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avelis/subscriptions","organizations_url":"https://api.github.com/users/avelis/orgs","repos_url":"https://api.github.com/users/avelis/repos","events_url":"https://api.github.com/users/avelis/events{/privacy}","received_events_url":"https://api.github.com/users/avelis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-23T20:54:11Z","updated_at":"2015-09-25T17:26:14Z","closed_at":null,"body":"Understanding the project thus far, this would require refactoring the following line:\r\nhttps://github.com/lamby/django-slack/blob/master/django_slack/api.py#L63\r\nFrom being a hardcoded url to a dynamically passed in value.\r\n\r\nPotential sources on retrieving a webhook url:\r\n1. By extending the django-slack template system.\r\n2. By extending the django-slack default settings.\r\n\r\nThoughts?\r\n"},"comment":{"url":"https://api.github.com/repos/lamby/django-slack/issues/comments/143294695","html_url":"https://github.com/lamby/django-slack/issues/9#issuecomment-143294695","issue_url":"https://api.github.com/repos/lamby/django-slack/issues/9","id":143294695,"user":{"login":"lamby","id":133209,"avatar_url":"https://avatars.githubusercontent.com/u/133209?v=3","gravatar_id":"","url":"https://api.github.com/users/lamby","html_url":"https://github.com/lamby","followers_url":"https://api.github.com/users/lamby/followers","following_url":"https://api.github.com/users/lamby/following{/other_user}","gists_url":"https://api.github.com/users/lamby/gists{/gist_id}","starred_url":"https://api.github.com/users/lamby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamby/subscriptions","organizations_url":"https://api.github.com/users/lamby/orgs","repos_url":"https://api.github.com/users/lamby/repos","events_url":"https://api.github.com/users/lamby/events{/privacy}","received_events_url":"https://api.github.com/users/lamby/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T17:26:14Z","updated_at":"2015-09-25T17:26:14Z","body":"I just glanced at the docs - do we need it to be a `send_message` arg at all? It requires no special processing. In other words, why not have it part of the template just like, \"channel\" etc?\r\n\r\nThat would keep the arguments consistent, trivially allowing a global setting (eg. `app_settings.ENDPOINT`)"}}