hi Karen thanks a lot, will check out the patch
On Wed, May 28, 2008 at 2:15 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Wed, May 28, 2008 at 7:27 AM, Andre Meyer <[EMAIL PROTECTED]> > wrote: > >> hi all >> >> working with the newforms-admin branch i tried to build a model using >> model inheritance: e.g. Task is a subclass of Item, fine. but in the admin >> interface (this is probably true for old and newforms versions) there is >> something funny happening. >> >> when trying to add a Task instance there is a field with a reference to an >> Item instance. the nf-a generates a filed called "Item ptr" that forces one >> to select an Item instance from a popup list. so, it is not possible to >> create a Task instance without it referring to an Item instance. >> >> why? is the model wrong or is there a bug in qs-rf or nf-a? or am i just >> not getting it? >> >> the code is >> here<http://code.google.com/p/pastiche/source/browse/trunk/dada/models.py> >> . >> > > Model inheritance is not supported by the admin: > > http://code.djangoproject.com/ticket/6755 > > There's a patch on that ticket, but I have no idea if it works, solves the > complete problem, etc. (If it were as easy as that patch, I'm surprised it > wouldn't have been done as part of qs-rf.) > > Karen > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---