'NAME': "BASE_DIR" / 'db.sqlite3', TypeError: unsupported operand type(s) for /: 'str' and 'str' code example
Example: 'NAME': BASE_DIR / 'db.sqlite3', TypeError: unsupported operand type(s) for /: 'str' and 'str'
BASE_DIR = Path(__file__).resolve().parent.parent
db_path = BASE_DIR / 'db.sqlite3'
# or
db_path2 = os.path.join(str(BASE_DIR), 'db.sqlite3')