perf: Community supports custom platforms (#13719)

Co-authored-by: feng <1304903146@qq.com>
pull/13721/head
fit2bot 2024-07-15 17:31:44 +08:00 committed by GitHub
parent 6677985e4a
commit 13b1938efb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

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