Programming/Python

[Django] type 'PosixPath' is not iterable 에러

BadaGreen_Kim 2022. 8. 13. 15:44

 

config/static/settings.py 의 82번째 라인 데이터베이스 설정에 기입된 문법에서 의 문제가 있는것이다.

 

 

 

 

아래 이미지와 같이 문법을 수정해주면 해결된다.

 

'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),