community

This commit is contained in:
jeremygan2021
2026-02-11 14:58:28 +08:00
parent 1100143a6e
commit 7e4d2a9579
17 changed files with 685 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ INSTALLED_APPS = [
'drf_spectacular', # Swagger文档生成
'drf_spectacular_sidecar',
'shop',
'community',
]
MIDDLEWARE = [
@@ -264,6 +265,32 @@ UNFOLD = {
},
],
},
{
"title": "社区与论坛",
"separator": True,
"items": [
{
"title": "活动管理",
"icon": "event",
"link": reverse_lazy("admin:community_activity_changelist"),
},
{
"title": "活动报名",
"icon": "how_to_reg",
"link": reverse_lazy("admin:community_activitysignup_changelist"),
},
{
"title": "技术论坛帖子",
"icon": "forum",
"link": reverse_lazy("admin:community_topic_changelist"),
},
{
"title": "帖子回复",
"icon": "chat_bubble",
"link": reverse_lazy("admin:community_reply_changelist"),
},
],
},
{
"title": "系统配置",
"separator": True,