3
0

More than 1 year has passed since last update.

ModuleNotFoundError: No module named 'allauthlogin' が出た

Posted at

ModuleNotFoundError: No module named 'allauthlogin'

settings.py のINSTALLED_APPSで以下のようなコードを書いていたら、python manage.py makemigrations で上のようなエラーが発生した。

setting.py
INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    """allauth"""
    'login.apps.LoginConfig',#login app
    'django.contrib.sites', #for djnago-allauth
    'allauth', #for djnago-allauth
    'allauth.account', #for djnago-allauth
    'allauth.socialaccount',#for djnago-allauth
]

リストの中で"""〜"""のコメントアウトは使えないみたい、、
それを消したらエラーなく動くようになった。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0