TypeError: Argument Of Type 'WindowsPath' Is Not Iterable

[Solved] TypeError: Argument Of Type 'WindowsPath' Is Not Iterable | Python - Code Explorer | yomemimo.com
Question : TypeError: argument of type 'WindowsPath' is not iterable

Answered by : talented-tamarin-e27v59y6xbtn

In settings.py change the NAME of your Database like this:
import os
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': str(os.path.join(BASE_DIR, "db.sqlite3")), }
}

Source : | Last Update : Thu, 10 Jun 21

Answers related to TypeError: argument of type 'WindowsPath' is not iterable

Code Explorer Popular Question For Python