Home
Sign Up
Sign In
V2EX
›
问与答
django FileField 问题
ljcarsenal
·
Oct 23, 2014
· 2767 views
This topic created in 4354 days ago, the information mentioned may be changed or developed.
我做了个爬虫,爬取一个网站上的文件的url。model设置的是attachment = models.FileField()
应该给attachment什么值呢?
我爬取的时候是爬的url,而不是文件本身。需要把文件下载下来,然后再给attachment赋值?
No Comments Yet
attachment
赋值
爬虫
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2639 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 00:20
·
PVG 08:20
·
LAX 17:20
·
JFK 20:20
♥ Do have faith in what you're doing.
❯