community
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user