﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8501	file storage should allow saving of basic file-like objects	jaboja@…	anonymous	"It is not possible to save file opened by urllib2.urlopen into field of a model.
When trying to do that following way:

f = File(urlopen(""http://something.com/somefile.ext"").fp)
MODEL.FIELD.save(""name.ext"", f, save=False)

Django throws AttributeError: '_fileobject' object has no attribute 'seek'

Probeably django\core\files\base.py on line checks if class has attribute seek, but it is being definied at line 125 even when constructor gets an object that does not have such attribute (like urllib2.addinfourl.fp which is socket._fileobject)."	New feature	closed	File uploads/storage	dev	Normal	duplicate	urllib, file	kmike84@…	Accepted	1	1	0	1	0	0
