#31953: Model Inheritance and reverse relations
---------------------------------------------+------------------------
               Reporter:  Yash Jhunjhunwala  |          Owner:  nobody
                   Type:  Uncategorized      |         Status:  new
              Component:  Uncategorized      |        Version:  2.2
               Severity:  Normal             |       Keywords:
           Triage Stage:  Unreviewed         |      Has patch:  0
    Needs documentation:  0                  |    Needs tests:  0
Patch needs improvement:  0                  |  Easy pickings:  0
                  UI/UX:  0                  |
---------------------------------------------+------------------------
 Given the following structure

 {{{
 class ModelA(models.Model):
  pass

 class ModelB(ModelA):
  pass

 class ModelC(models.Model):
  model_a=models.OnetoOneField(ModelA)

 class ModelD(ModelC):
  pass
 }}}

 This works
 {{{
 modelA.modelc
 }}}

 This works too
 {{{
 modelB.modelc
 }}}


 Is there a way to do:
 {{{
 modelB.modeld
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31953>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.8d9ab679770f6f6294ce58c1c9fba1d9%40djangoproject.com.

Reply via email to