Re: DB Super Model (ahem)

2007-03-27 Thread dballanc
In addition to what Kyle said I've also noticed I had to 'pop' custom kwargs before passing to the super since it isn't expecting them. try: t = kwargs.pop('title') except: ... call super ... do stuff. On Mar 27, 10:20 am, "Kyle Fox" <[EMAIL PROTECTED]> wrote: > This is just a guess, but

Re: DB Super Model (ahem)

2007-03-27 Thread Kyle Fox
This is just a guess, but could it be because you're calling .save() (defined in models.Model) before calling __init__() on the superclass? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

DB Super Model (ahem)

2007-03-27 Thread Tom Smith
I'd like to be able to "catch" when creating a new object... fix a few things up then let the normal thing happen... for example... class myObj(models.model): def __init__(self, **kwargs): t = kwargs['title'] t =