from django.contrib import admin from .models import * for m in [ UncloudProvider, UncloudNetwork ]: admin.site.register(m)