On Tue, Jan 03, 2006 at 10:13:49AM -0600, Jacob Kaplan-Moss wrote: > > On Jan 3, 2006, at 9:45 AM, David Reynolds wrote: > >I'm sure there's a way, but I can't for the life of me work out how > >you could get access to POST variables in the _post_save > >functions. Can anyone help? > > You can't -- the save hooks are decoupled from the request processing > framework (think about calling ``save()`` from a cronjob, for > example). You'll need to do any processing like that in the view.
Of course, what he was looking for wasn't (as such) POST variables as the Model data that had been passed through (I was talking to him in IRC in another place), which is as simple as self.fieldname. Thanks, -- Brett Parker