@classmethod
def register_extension(cls, register_fn):
    """
        Call the register function of an extension. You must override this
        if you provide a custom ModelAdmin class and want your extensions to
        be able to patch stuff in.
        """
    register_fn(cls, None)
