#9775: admin multi-table inheritance broken since rev 9602
----------------------------------+-----------------------------------------
 Reporter:  chr                   |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  SVN       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 hi there,

 this has driven me mad for some hours but think i've tracked down the
 culprit... i've made a lot of changes to my code, and updated the django
 svn... bad mistake.

 anyway, here's my model(s):
 {{{
 class PublishableItem(models.Model):
     title = models.CharField(max_length=200)

 class EventItem(PublishableItem):
     location = models.TextField(blank=True)

 class Concert(EventItem):
     band = models.CharField(max_length=200)

 class Meeting(EventItem):
     topic = models.CharField(max_length=200)
 }}}
 now, in change_list.html the admin will throw this:
 {{{
 Caught an exception while rendering: Concert has no field named
 'publishableitem_ptr_id'
 }}}
 when updating to rev 9601 the error disappears, and changeset #9602
 actually changed some things in this department. not sure how the next few
 changesets might interfere with this.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9775>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to