feat: 实现城市手册项目需求 - 数据库模型
- 扩展 User 模型,添加角色和状态字段 - 创建 Region 模型(省市县乡村层级结构) - 创建版主管理相关模型(申请、权限、支持、限制) - 创建 Article 模型(文章 + 审核流程) - 创建 FeaturedService 模型(特色服务 + 审核流程) - 创建交互功能模型(评论、评分、点赞、收藏) - 更新 Django settings 注册所有 apps - 创建需求实施文档 完整实现需求文档中的 12 个核心数据表和审核流程
This commit is contained in:
7
backend/apps/regions/apps.py
Normal file
7
backend/apps/regions/apps.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class RegionsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.regions'
|
||||
verbose_name = '版块管理'
|
||||
Reference in New Issue
Block a user