Changes between Version 11 and Version 12 of ModelInheritance


Ignore:
Timestamp:
Feb 27, 2006, 4:12:39 PM (19 years ago)
Author:
cell@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModelInheritance

    v11 v12  
    166166{{{
    167167class Place(models.Model):
     168    foo = 1
     169    def bar(self):
     170        return 2
    168171    name = models.CharField(maxlength=50)
    169172}}}
     
    173176{{{
    174177class Place(models.Model):
     178    foo = 1
     179    def bar(self):
     180        return 2
    175181    _meta = ...
    176182}}}
Back to Top