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