在app中新建app.py
from __future__ import unicode_literals from django.apps import AppConfig class BlogConfig(AppConfig): name = 'blog' verbose_name = 'my name'