I created a virtual environment for my new project, installed django and started the new project. However, whenever i run a line of code with manage.py i get this long error
It does seem NAME is being converted to pathlib.Path (WindowsPath) object instead of string which then cannot be used in Django in same way as os.path expects strings (Not 100% sure as did not investigate in depth)
So casting in string would be appropriate
'NAME': str(os.path.join(BASE_DIR, "db.sqlite3"))