Home
Sign Up
Sign In
V2EX
›
问与答
django FileField 问题
ljcarsenal
·
Oct 23, 2014
· 2689 views
This topic created in 4296 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
·
Solana
·
1362 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 17:12
·
PVG 01:12
·
LAX 10:12
·
JFK 13:12
♥ Do have faith in what you're doing.
❯