python执行数据迁移的时候报错,return database_name == ':memory:' or 'mode=memory' in database_name . TypeError: argument of type 'PosixPath' is not iterable.
将settings.py中的DATABASES的配置中的NAME字段,如下图所示:
改为如下图所示,再次用行就不会报错啦:
python执行数据迁移的时候报错,return database_name == ':memory:' or 'mode=memory' in database_name . TypeError: argument of type 'PosixPath' is not iterable.
将settings.py中的DATABASES的配置中的NAME字段,如下图所示:
改为如下图所示,再次用行就不会报错啦: