1. 增加服务器图片管理
This commit is contained in:
@@ -5,3 +5,8 @@ class CoreConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.core'
|
||||
verbose_name = '内容管理'
|
||||
|
||||
def ready(self):
|
||||
# 注册所有 ImageField 文件的自动清理信号
|
||||
from .signals import _register_cleanup_signals # noqa: F401
|
||||
_register_cleanup_signals()
|
||||
|
||||
Reference in New Issue
Block a user