E:\Practice\1_Python\examination_source_code>python manage.py makemigrations
Traceback (most recent call last):
File "D:\Anaconda3\lib\logging\config.py", line 558, in configure
handler = self.configure_handler(handlers[name])
File "D:\Anaconda3\lib\logging\config.py", line 731, in configure_handler
result = factory(**kwargs)
File "D:\Anaconda3\lib\logging\__init__.py", line 1025, in __init__
StreamHandler.__init__(self, self._open())
File "D:\Anaconda3\lib\logging\__init__.py", line 1054, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\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:\Anaconda3\Lib\site-packages\django\core\management\__init__.py", line 381, in execute_from_command_line
utility.execute()
File "D:\Anaconda3\Lib\site-packages\django\core\management\__init__.py", line 357, in execute
django.setup()
File "D:\Anaconda3\Lib\site-packages\django\__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "D:\Anaconda3\Lib\site-packages\django\utils\log.py", line 76, in configure_logging
logging_config_func(logging_settings)
File "D:\Anaconda3\lib\logging\config.py", line 795, in dictConfig
dictConfigClass(config).configure()
File "D:\Anaconda3\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: 'E:\\tmp\\test.log'