Changes between Version 13 and Version 14 of ModelInheritance
- Timestamp:
- Feb 27, 2006, 4:27:02 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v13 v14 154 154 {{{ 155 155 class Place(models.Model): 156 name = models.CharField(maxlength=50) 156 157 foo = 1 157 def bar(self): 158 return 2 159 name = models.CharField(maxlength=50) 158 def bar(self): return 2 160 159 }}} 161 160 … … 165 164 {{{ 166 165 class Place(models.Model): 166 _meta = ... 167 167 foo = 1 168 def bar(self): 169 return 2 170 _meta = ... 168 def bar(self): return 2 171 169 }}} 172 170