perf: Community supports custom platforms (#13719)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2024-07-15 17:31:44 +08:00
committed by GitHub
parent 6677985e4a
commit 13b1938efb

View File

@@ -172,11 +172,8 @@ class AllTypes(ChoicesMixin):
(Category.DATABASE, DatabaseTypes), (Category.DATABASE, DatabaseTypes),
(Category.WEB, WebTypes), (Category.WEB, WebTypes),
(Category.CLOUD, CloudTypes), (Category.CLOUD, CloudTypes),
(Category.CUSTOM, CustomTypes)
] ]
if settings.XPACK_ENABLED:
types.extend([
(Category.CUSTOM, CustomTypes),
])
return types return types
@classmethod @classmethod