(venv) D:\pythonStudy\Code\examination>python manage.py migrate
Traceback (most recent call last):
File "d:\python\python36\lib\logging\config.py", line 558, in configure
handler = self.configure_handler(handlers[name])
File "d:\python\python36\lib\logging\config.py", line 731, in configure_handler
result = factory(**kwargs)
File "d:\python\python36\lib\logging\__init__.py", line 1030, in __init__
StreamHandler.__init__(self, self._open())
File "d:\python\python36\lib\logging\__init__.py", line 1059, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\tmp\\test.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "D:\pythonStudy\Code\examination\venv\lib\site-packages\django\core\management\__init__.py", line 363, in execute_from_c
ommand_line
utility.execute()
File "D:\pythonStudy\Code\examination\venv\lib\site-packages\django\core\management\__init__.py", line 337, in execute
django.setup()
File "D:\pythonStudy\Code\examination\venv\lib\site-packages\django\__init__.py", line 22, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "D:\pythonStudy\Code\examination\venv\lib\site-packages\django\utils\log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "d:\python\python36\lib\logging\config.py", line 795, in dictConfig
dictConfigClass(config).configure()
File "d:\python\python36\lib\logging\config.py", line 566, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 2] No such file or directory: 'D:\\tmp\\test.log'