#7853: django admin problem used model inheritance
---------------------------------------------+------------------------------
 Reporter:  [EMAIL PROTECTED]                 |       Owner:  nobody    
   Status:  new                              |   Milestone:            
Component:  django-admin.py                  |     Version:  SVN       
 Keywords:  model inheritance, django admin  |       Stage:  Unreviewed
Has_patch:  0                                |  
---------------------------------------------+------------------------------
 for example,

 {{{
 class Parent(models.Model):
     s = models.ForeignKey('self', null=True, blank=True)
     a = models.TextField()

 class Child(Parent):
     b = models.TextField()
 }}}

 1.

 When Child create in django admin, Parent reference id is not need. It
 should be inserted automatically.
 But, admin complain it is necessary.

 So, after I add one '''dummy Parent''', Child was created successfully
 with it's own automatically created parent's ID.
 So, number of Parent was two.
 Every create Child, choice dummy Parent is needed.


 2.

 like above code.
 when delete Child or Parent, error occured about Child's s_id.

 ----

 these error was begined at 0.97-pre-SVN-8007
 as I know, previous version is not shown these errors.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7853>
Django Code <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 [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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to