Re: pre_init/post_init vs. performance

2012-07-14 Thread Russell Keith-Magee
On Sat, Jul 14, 2012 at 10:57 AM, Jeremy Dunck wrote: > I was poking around in our (Votizen's) use of signals and thinking > about making some tooling so that signal usage was a bit more > transparent. > > In doing so, I noticed that GenericForeignKey hooks the model pre_init > signal. It does th

Re: Complains about FileField not deleting files in 1.3.

2012-07-14 Thread -RAX-
It took me a while but I have opensourced a tool to clean the media folder from all the leftovers. It's a cron job with a simple admin gui. Also handles multiple upload folders. We have been using something similar to this internally for more than a year, and we are pretty happy about it. http

Re: pre_init/post_init vs. performance

2012-07-14 Thread Anssi Kääriäinen
On 14 heinä, 05:57, Jeremy Dunck wrote: > I was poking around in our (Votizen's) use of signals and thinking > about making some tooling so that signal usage was a bit more > transparent. > > In doing so, I noticed that GenericForeignKey hooks the model pre_init > signal.  It does that because GFK