Commits

Brent Tubbs committed 5503616

explaining allow_inheritance = False

  • Participants
  • Parent commits d3dfe11

Comments (0)

Files changed (1)

 class Counter(mgo.Document):
     hits = mgo.IntField(default=0)
 
+    # I like to turn off inheritance so my records don't get cluttered with
+    # _cls and _types keys that I don't care about.  You don't have to do this
+    # though.
     meta = {
         'allow_inheritance': False
     }