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.
SoftwareMethodology/src/DjangoBlog-master/owntracks/apps.py

16 lines
657 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 OwntracksConfig(AppConfig):
# 定义Django应用的配置类用于配置应用的元数据和行为
# 指定应用的名称,这是应用的唯一标识
# 在Django项目中通过该名称引用此应用如在INSTALLED_APPS中注册、迁移依赖等
name = 'owntracks'
# 可选配置(当前未设置):
# verbose_name应用的可读名称用于在admin后台等位置显示
# 例如verbose_name = '位置追踪日志'
# default_auto_field指定模型默认的主键字段类型
# 例如default_auto_field = 'django.db.models.BigAutoField'