On Tue, Aug 15, 2006 at 07:57:49PM -0700, Julio C?sar Carrascal Urquijo wrote: > > I'm using a cursor inside the _pre_save() method for one of my models > and figured it would be wise to use the table name gerated by Django > instead of just hard-coding the name.
Err, _pre_save() was ousted as part of MR - so, surely you're just using an overridden save() method? _pre_save() shouldn't work (should it?) http://www.djangoproject.com/documentation/models/save_delete_hooks/ is the current way to do that ;) Cheers, -- Brett Parker --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---