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 details)

Uploaded Source

File details

Details for the file django-slack-invitation-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-slack-invitation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb5dfbffc10ce141b3d3ba1cc12d9c377190020de414930966891465386ef0cb
MD5 4d153d8161b00f1d365290257226e96b
BLAKE2b-256 d45f98e5023e1f5da579982fb358c6c9287fa7e42780d9bda73227908aba9a4b

See more details on using hashes here.

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