Hi,

On Jun 26, 9:24 am, Karen Tracey <[email protected]> wrote:
> On Fri, Jun 26, 2009 at 12:11 PM, Daniele Procida <[email protected]
>
> > wrote:
>
> > Given:
>
> > class Cyclist(models.Model):
>
> > and:
>
> > class ProfessionalCyclist (Cyclist):
>
> > I can't immediately see way to make an existing Cyclist into a
> > ProfessionalCyclist (in either Admin interface).
>
> > How can this be achieved (can it be achieved)?
>
> This can't be done at the moment. There is a ticket requesting this ability,
> see:
>
> http://code.djangoproject.com/ticket/7623
>
> Karen

While this can't be done through Django's ORM, shouldn't it still be
possible to create an instance of the subclass by inserting a row in
the subclass's table? I know this can't be done through the admin
interface, but it does provide a workaround.

--Rick

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to