You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
django/servermanager/apps.py

16 lines
446 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

from django.apps import AppConfig
class ServermanagerConfig(AppConfig):
"""
Django应用配置类
该类用于配置servermanager应用的基本信息继承自Django的AppConfig基类。
通过设置name属性来指定应用的名称Django框架会使用这个配置来识别和管理应用。
属性:
name (str): 应用的名称用于Django框架识别该应用模块
"""
name = 'servermanager'