--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2e1368cf-cee9-4aac-a74b-d727094b4f36n%40googlegroups.com.
Thanks so much, Francisco. I'm doing something wrong that makes the "docker-compose up" not work to begin with. More detail, including the traceback text below:
(.venv) stephaniegoulet@Stephanies-MacBook-Pro ch2-hello % docker-compose up
Creating network "code2_default" with the default driver
Creating code2_web_1 ... done
Attaching to code2_web_1
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 414, in run_from_argv
web_1 | self.execute(*args, **cmd_options)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 74, in execute
web_1 | super().execute(*args, **options)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 460, in execute
web_1 | output = self.handle(*args, **options)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 81, in handle
web_1 | if not settings.DEBUG and not settings.ALLOWED_HOSTS:
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 87, in __getattr__
web_1 | self._setup(name)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 74, in _setup
web_1 | self._wrapped = Settings(settings_module)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 183, in __init__
web_1 | mod = importlib.import_module(self.SETTINGS_MODULE)
web_1 | File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
web_1 | return _bootstrap._gcd_import(name[level:], package, level)
web_1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
web_1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
web_1 | File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
web_1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
web_1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
web_1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
web_1 | File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
web_1 | ModuleNotFoundError: No module named 'django_project'
web_1 |
web_1 | During handling of the above exception, another exception occurred:
web_1 |
web_1 | Traceback (most recent call last):
web_1 | File "/code2/manage.py", line 22, in <module>
web_1 | main()
web_1 | File "/code2/manage.py", line 18, in main
web_1 | execute_from_command_line(sys.argv)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
web_1 | utility.execute()
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
web_1 | self.fetch_command(subcommand).run_from_argv(self.argv)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 427, in run_from_argv
web_1 | connections.close_all()
web_1 | File "/usr/local/lib/python3.10/site-packages/django/db/utils.py", line 212, in close_all
web_1 | for alias in self:
web_1 | File "/usr/local/lib/python3.10/site-packages/django/utils/connection.py", line 73, in __iter__
web_1 | return iter(self.settings)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 49, in __get__
web_1 | res = instance.__dict__[self.name] = self.func(instance)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/utils/connection.py", line 45, in settings
web_1 | self._settings = self.configure_settings(self._settings)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/db/utils.py", line 148, in configure_settings
web_1 | databases = super().configure_settings(databases)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/utils/connection.py", line 50, in configure_settings
web_1 | settings = getattr(django_settings, self.settings_name)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 87, in __getattr__
web_1 | self._setup(name)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 74, in _setup
web_1 | self._wrapped = Settings(settings_module)
web_1 | File "/usr/local/lib/python3.10/site-packages/django/conf/__init__.py", line 183, in __init__
web_1 | mod = importlib.import_module(self.SETTINGS_MODULE)
web_1 | File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
web_1 | return _bootstrap._gcd_import(name[level:], package, level)
web_1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
web_1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
web_1 | File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
web_1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
web_1 | File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
web_1 | File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
web_1 | File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
web_1 | ModuleNotFoundError: No module named 'django_project'
code2_web_1 exited with code 1
(.venv) stephaniegoulet@Stephanies-MacBook-Pro ch2-hello %
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/ILI31w5H_QQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA-J3id6ZLCyONOqNx2Tdbyv3vR_g%3DBpYt-PEzTnGKqbV%2BTJTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM8_Wzst99v%2BJGQp-Hg4zwxTMvsNTWDhPK8y3dMFFJuY-9MrFA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA-J3idUurm1t1TKYYBtvdUMDpKogr-mnvtQYPLpTUx3jfGoJA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM8_Wzst99v%2BJGQp-Hg4zwxTMvsNTWDhPK8y3dMFFJuY-9MrFA%40mail.gmail.com.
Abdul Qoyyuum Haji Abdul Kadir
about.me/qoyyuum
|
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c199af3a-3e86-47ad-8016-36c99373a57bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANVqoJ-qiwK1U5QZjo%2B4VSZiD8kw8kRnauqgyRoijpfcscRROQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJnMy6d5LNgbmzMO2zjQTORj4ob443ffTNM%2B87%2BsmM0JV2dxVw%40mail.gmail.com.