TypeError: argument of type 'WindowsPath' is not iterable django code example
Example: TypeError: argument of type 'WindowsPath' is not iterable
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")),
}
}