diff --git a/crawler/apps.py b/crawler/apps.py index 88478dd..3a0b852 100644 --- a/crawler/apps.py +++ b/crawler/apps.py @@ -4,3 +4,9 @@ from django.apps import AppConfig class CrawlerConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'crawler' + + def ready(self): + from django.contrib import admin + admin.site.site_header = '廉政教育资料爬虫系统' + admin.site.site_title = '廉政教育资料爬虫系统' + admin.site.index_title = '廉政教育资料爬虫系统' \ No newline at end of file