Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giginet/django-slack-invitation
Automatic invitation to Slack team
https://github.com/giginet/django-slack-invitation
Last synced: 3 months ago
JSON representation
Automatic invitation to Slack team
- Host: GitHub
- URL: https://github.com/giginet/django-slack-invitation
- Owner: giginet
- License: mit
- Created: 2016-08-28T09:05:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-28T10:11:24.000Z (over 8 years ago)
- Last Synced: 2024-10-08T13:41:00.118Z (3 months ago)
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
django-slack-invitation
=======================.. image:: https://travis-ci.org/giginet/django-slack-invitation.svg?branch=master
:target: https://travis-ci.org/giginet/django-slack-invitation
.. image:: https://coveralls.io/repos/github/giginet/django-slack-invitation/badge.svg?branch=master
:target: https://coveralls.io/github/giginet/django-slack-invitation?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.10Installation
-------------------Install using pip
.. code:: sh
pip install django-slack-invitation
Usage
------------------Add ``slack_invitation`` into ``INSTALL_APPS`` in ``settings.py`` file
.. code:: python
INSTALLED_APPS += (
'slack_invitation',
)Add ``DJANGO_SLACK_INVITATION_TEAM`` and ``DJANGO_SLACK_INVITATION_TOKEN`` in ``settings.py`` file
.. code:: python
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``.
.. code:: python
from slack_invitation import register_slack_invitation
register_slack_invitation()
When Django users are registered, invitation mail will send automatically.
Author
-------------------giginet
LICENSE
-------------------------MIT License