Here is a realistic example: I have a model Employee that is a subclass of User, the standard django authentication class, and a model called Supervisor that subclasses Employee.
I have Bob, an instance of Employee, that I want to promote to Supervisor. So trying to move the Bob object to the child Supervisor class from its parent Employee class. I could do this directly through sql by creating a record in app_supervisor setting employee_ptr_id to the id of the app_employee record, but I'm hoping that django has more direct support for migrating a parent object to a child object. - Steve On May 4, 4:30 pm, Shawn Milochik <[email protected]> wrote: > You can't subclass an instance, just a class/object. > > Maybe you want a foreign key to place in restaurant. > > What are you trying to do? dard > > Shawn > > -- > 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 > athttp://groups.google.com/group/django-users?hl=en. -- 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?hl=en.

