#16740: "Derived Class"
----------------------------+----------------------------------------------
 Reporter:  anonymous       |          Owner:  nobody
     Type:  New feature     |         Status:  new
Milestone:  1.4             |      Component:  Database layer (models, ORM)
  Version:  1.3             |       Severity:  Normal
 Keywords:  Derived class,  |   Triage Stage:  Unreviewed
  models                    |  Easy pickings:  0
Has patch:  0               |
    UI/UX:  0               |
----------------------------+----------------------------------------------
 A feature you can create derived classes.
 For example:


 {{{
 Class ClassA(models.Model):
     name = models.CharField()
     age  = models.IntergerField()

 class ClassB(models.Model):
     serial = models.CharField()

 class DerivedClass(models.Model):
     class Meta:
         derived = (ClassA, ClassB)
     name = models.CharField(derived = ClassA, attr = name)
     serial = models.CharField(derived = ClassB, attr = serial)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16740>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to