Search code examples
pythondjangodjango-allauthslack

No module named slack


I'm trying test [django-allauth/example] from https://github.com/pennersr/django-allauth.

follow the [example/readme.rst], all steps need to test the exmaple as follows:

$ git clone git://github.com/pennersr/django-allauth.git
$ cd django-allauth/example
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt

$ python manage.py migrate  # **The promblem happen here**

$ python manage.py createsuperuser
$ python manage.py runserver

When i migrate database by command "$ python manage.py migrate", an [ImportError] appears with description: "no module named slack"

I have search on google but there no standard [slack package] for python or any infomation about [slack]. So, there ís no way to fix the problem for me.

What the [slack] is and how can i pass it? Help me.


Solution

  • Make sure you've edited your settings.py in accordance with the documentation found here: https://django-allauth.readthedocs.io/en/latest/installation.html. Particularly including 'allauth.socialaccount.providers.slack'.