- 扩展 User 模型,添加角色和状态字段 - 创建 Region 模型(省市县乡村层级结构) - 创建版主管理相关模型(申请、权限、支持、限制) - 创建 Article 模型(文章 + 审核流程) - 创建 FeaturedService 模型(特色服务 + 审核流程) - 创建交互功能模型(评论、评分、点赞、收藏) - 更新 Django settings 注册所有 apps - 创建需求实施文档 完整实现需求文档中的 12 个核心数据表和审核流程
7 lines
203 B
Python
7 lines
203 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class FeaturedServicesConfig(AppConfig):
|
|
default_auto_field = 'django.db.models.BigAutoField'
|
|
name = 'apps.featured_services'
|
|
verbose_name = '特色服务' |