On 8/4/06, Dave <[EMAIL PROTECTED]> wrote:
>
> > I think your best bet is to override the save() method of your model.
>
> This worked perfectly. It didn't even occur to me that I could do that.
> Thanks so much for the suggestion.

Just be careful, because the save() will be called if you update the customer.

You can do a test to see if the Customer is new- I think you just
check for self.id is None and you know this is the first time through
the save()

-- 
Derek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to