0
을 Heroku가에 배포하려고, 나는 다음과 같은 오류 수신하고 때 :ImportError를이 : 이름 없음 모듈은 '계정 없습니다'- Heroku가
22:06:03 web.1 | apps.populate(settings.INSTALLED_APPS)
22:06:03 web.1 | File "/Users/XXX/.envs/carla/lib/python3.5/site-packages/django/apps/registry.py", line 85, in populate
22:06:03 web.1 | app_config = AppConfig.create(entry)
22:06:03 web.1 | File "/Users/XXX/.envs/carla/lib/python3.5/site-packages/django/apps/config.py", line 94, in create
22:06:03 web.1 | module = import_module(entry)
22:06:03 web.1 | File "/Users/XXX/.envs/carla/lib/python3.5/importlib/__init__.py", line 126, in import_module
22:06:03 web.1 | return _bootstrap._gcd_import(name[level:], package, level)
22:06:03 web.1 | ImportError: No module named 'accounts'
설치된 앱 :
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.humanize',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_summernote',
'widget_tweaks',
'accounts',
...
]
프로젝트 구조를 :
- carla/
- carla/
- accounts/
- static/
- templates/
- config
- settings/
- __init__.py
- urls.py
- wsgi.py
- manage.py
- Procfile
- requirements.txt
...
Heroku가 내 'accounts'
앱을 찾을 수없는 이유를 아는 사람이 있습니까? 그것은 로컬로 잘 작동하며 분명히 내 INSTALLED_APPS
입니다.
미리 감사드립니다.