- emul = type(deftype.__name__ + cls.__name__, (BaseSetting,), {})
+ emul = type(deftype.__name__ + cls.__name__, (BaseSetting,), {'base_type': deftype})
+
fns = [n for n, f in [(p, getattr(deftype, p)) for p in dir(deftype) if not p in dir(cls)] if callable(f)]
for n in fns:
fns = [n for n, f in [(p, getattr(deftype, p)) for p in dir(deftype) if not p in dir(cls)] if callable(f)]
for n in fns: