def __iter__(self):
    from xadmin import site as g_admin_site
    for (m, ma) in g_admin_site._registry.items():
        (yield (('%s.%s' % (m._meta.app_label, m._meta.model_name)), m._meta.verbose_name))
def __iter__(self):
    from xadmin import site as g_admin_site
    for (m, ma) in g_admin_site._registry.items():
        (yield (('%s.%s' % (m._meta.app_label, m._meta.model_name)), m._meta.verbose_name))