On Thu, 2006-06-15 at 02:52 +0000, Bo Shi wrote: > This is a continuation of the following thread: > > http://groups.google.com/group/django-users/browse_thread/thread/13a94a5ac9b5ff8a/f6fbcdd419ddf89e?q=page+not+found&rnum=1#f6fbcdd419ddf89e > > I'm experiencing the same problem; I've fiddled with permissions > (superuser/explicitly setting all permissions, etc) and this does not > seem to be the issue. > > === 404 when I try to edit a question after saving > class Question(models.Model): > question = models.CharField(maxlength = 200) > > class BinaryQuestion(Question): > class Admin: > list_display = ('question',) > > > > === works fine > class Question(models.Model): > question = models.CharField(maxlength = 200) > > class BinaryQuestion(models.Model): # <==== no inheritance > question = models.CharField(maxlength = 200) > class Admin: > list_display = ('question',) > === > > > I'm quite befuddled.
This is entirely expected. Model inheritance does not work at the moment (you end up with the wrong manager for the derived class, if you care about the details). It is being worked on. Look through the list archives if you want more details, there have been a few threads over the past two weeks. Regards, Malcolm > > bs > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---