Re: Signals giving: global name 'MyModel' is not defined

2009-05-14 Thread Colin Bean
On Thu, May 14, 2009 at 6:48 AM, phoebebright wrote: > > Have been at this now for some hours and still can't see the wood for > the trees.  Failed to get two signals working - one called on pre_save > to keep an audit trail of one field on a model (didn't implemenet the > Audit.py version in the

Signals giving: global name 'MyModel' is not defined

2009-05-14 Thread phoebebright
Have been at this now for some hours and still can't see the wood for the trees. Failed to get two signals working - one called on pre_save to keep an audit trail of one field on a model (didn't implemenet the Audit.py version in the wiki as more complex than I needed). The other to create some