Skip to content

ph87/django_slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django_slack

Config Django

  • Append 'django_slack' to INSTALLED_APPS;
  • Append 'django_slack.urls' to urls;

Append Command

  1. Access your django's admin, find 'django_slack';
  2. Add a new command, and paste your code which contains a function named 'command_func' into the code field, fill the command field the literal command value, such as 'hello_world', and the slack command url will be the 'host/slack_cli/hello_world/'

Config slack

Fill the url field with the command url

Triggle the command

Type the command in slack, and slack will call the given command url.

About

slack cli integerated with django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages