@@ -0,0 +1,548 @@
+# -*- coding: utf-8 -*-%0A%0Adef with_metaclass(meta, *bases):%0A    # Function from python-future and jinja2. License: BSD.%0A    # Allow consistent behaviours across all django versions%0A    # Also avoids a temporary intermediate class%0A    class metaclass(meta):%0A        __call__ = type.__call__%0A        __init__ = type.__init__%0A        def __new__(cls, name, this_bases, d):%0A            if this_bases is None:%0A                return type.__new__(cls, name, (), d)%0A            return meta(name, bases, d)%0A    return metaclass('temporary_class', None, %7B%7D)%0A

Add compat utils.