from django.contrib import admin # Register your models here. from django.contrib.admin import ModelAdmin from aboutApp.models import Info class InfoModelAdmin(admin.ModelAdmin): list_display = ['title'] admin.site.register(Info, InfoModelAdmin) admin.site.site_header = '企业门户网站后台管理系统' #随便放在一个app的admin中即可 admin.site.site_title = '企业门户网站后台管理系统'