Skip to main content

API client for Beddit sleep tracker

Project description

https://travis-ci.org/giginet/django-slack-invitation.svg?branch=master https://coveralls.io/repos/github/giginet/django-slack-invitation/badge.svg?branch=master

django-slack-invitation invites users to Slack automatically when Django users are registered.

Supported python versions

2.7, 3.3, 3.4, 3.5

Supported django versions

1.7 - 1.10

Installation

Install using pip

pip install django-slack-invitation

Usage

Add slack_invitation into INSTALL_APPS in settings.py file

INSTALLED_APPS += (
    'slack_invitation',
)

Add DJANGO_SLACK_INVITATION_TEAM and DJANGO_SLACK_INVITATION_TOKEN in settings.py file

DJANGO_SLACK_INVITATION_TEAM = 'your-slack-team-name'
DJANGO_SLACK_INVITATION_TOKEN = 'your-slack-token'

Execute register_slack_invitation on models.py or urls.py.

from slack_invitation import register_slack_invitation

register_slack_invitation()

When Django users are registered, invitation mail will send automatically.

Author

giginet <giginet.net@gmail.com>

LICENSE

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-slack-invitation-0.1.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page