我正在从CSV文件中导入数据,输入210行后,它会返回此错误.我是从Django shell(manage.py shell)这样做的
ERROR - failed to write data to stream: <open file '<stdout>', mode 'w' at 0x104c8f150>
Run Code Online (Sandbox Code Playgroud) 我在Postgresql的不同字段中拥有一个包含年,月和日的表,但是我需要使用'between'这些字段进行查询.我尝试了一些疯狂的事情,但没有任何效果......有谁知道帮帮我?
防爆表:
CREATE TABLE my_table
(
id serial NOT NULL,
day integer NOT NULL,
month integer NOT NULL,
year integer NOT NULL,
)
Run Code Online (Sandbox Code Playgroud)