Changes between Version 14 and Version 15 of ModelInheritance


Ignore:
Timestamp:
02/27/2006 04:44:03 PM (10 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModelInheritance

    v14 v15  
    169169}}}
    170170
    171 Thus, there is simply no 'name' field for it to inherit.
     171Thus, there is simply no 'name' field for it to inherit.  So, we need to have ModelBase to walk through the parent classes and call contribute_to_class on each of the fields found in _meta.fields.  In doing this, we must not forget the case of a model which includes mixins.
Back to Top