После перемещения моего каталога вперед и назад я получаю сообщение об ошибке ниже. Не знаете, как решить эту проблему.
Файлы в настоящее время находятся в каталоге, из которого они были созданы. На какие настройки я должен смотреть, когда получаю такую ошибку.
C:\Users\Nathan\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\192.6817.19\bin\runnerw64.exe C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\Scripts\python.exe C:/Users/Nathan/PycharmProjects/DJANGO_TemplateApp/manage.py runserver 8000
Traceback (most recent call last):
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\core\management\commands\runserver.py", line 60, in execute
super().execute(*args, **options)
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\core\management\commands\runserver.py", line 67, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\conf\__init__.py", line 79, in __getattr__
self._setup(name)
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\conf\__init__.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "C:\Users\Nathan\PycharmProjects\DJANGO_TemplateApp\venv\lib\site-packages\django\conf\__init__.py", line 157, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Users\Nathan\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'DJANGO_TemplateApp'