﻿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
364	_{post,pre}_file hooks	maurycy	Adrian Holovaty	"{{{
17:21 < maurycy> hey. is there any way to parse data after file upload? any
                 file upload hooks or something?
17:22 < mmarshall> would _post_save work?
17:31 < maurycy> mmarshall: no. it doesn't work - post_save is called after
                 database .save(), nor file upload
17:32 < mmarshall> But you could then open the file, process it, then save it
                   again.
17:32 < maurycy> mmarshall: i'd not like to wait for .save() to process the file
17:33 < mmarshall> Then I think you should take a look at the source.
17:34 < mmarshall> Check out django/core/meta/__init__.py
17:34 < mmarshall> And maybe django/core/meta/fields.py
17:35 < maurycy> mmarshall: there should be _post_file_upload() etc.
17:36 < mmarshall> maurycy: I agree.
}}}

We can also think about more generic subsystem of hooks called after and before various actions, like file upload, image resize etc., etc."	defect	closed	Metasystem		normal	fixed			Unreviewed	0	0	0	0	0	0
