Answers for "TypeError: argument of type 'WindowsPath' is not iterable djngo"

5

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")),
    }
}
Posted by: Guest on June-03-2021

Code answers related to "TypeError: argument of type 'WindowsPath' is not iterable djngo"

Browse Popular Code Answers by Language