Added FutureWarning for inherited classes not declaring allow_inheritance

Refs #437
This commit is contained in:
Ross Lawley
2012-03-05 11:25:13 +00:00
parent b7d0d8f0cc
commit 6ecdc7b59d
7 changed files with 52 additions and 8 deletions

View File

@@ -20,4 +20,4 @@ class Mixin(object):
class Base(Document):
pass
meta = {'allow_inheritance': True}