def get_wagtail_type(obj): return obj._meta.app_label + "." + type(obj).__name__