On Tue, 2007-03-27 at 15:20 +0000, Kyle Fox wrote:
> This is just a guess, but could it be because you're calling .save()
> (defined in models.Model) before calling __init__() on the superclass?

This will certainly be it. Django sets up the attributes on the model
corresponding to fields in the Model.__init__ method. Before that method
has finished, those attributes don't exist.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to