finished test for instagram
This commit is contained in:
1 parent
08d47a6990
commit
eff711e03e
38 files changed
+175
-9284
No files matched your search
+15
-11
@@ -160,16 +160,17 @@ class SocialAccountAdmin(ModelView, model=SocialAccount):
|
||||
|
||||
column_list = [
|
||||
"id",
|
||||
"user_id",
|
||||
"user_uuid",
|
||||
"platform",
|
||||
"platform_username",
|
||||
"is_active",
|
||||
"connected_at",
|
||||
"is_deleted",
|
||||
"created_at",
|
||||
]
|
||||
|
||||
column_details_list = [
|
||||
"id",
|
||||
"user_id",
|
||||
"user_uuid",
|
||||
"platform",
|
||||
"platform_user_id",
|
||||
"platform_username",
|
||||
@@ -177,32 +178,34 @@ class SocialAccountAdmin(ModelView, model=SocialAccount):
|
||||
"scope",
|
||||
"token_expires_at",
|
||||
"is_active",
|
||||
"connected_at",
|
||||
"is_deleted",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
]
|
||||
|
||||
form_excluded_columns = ["connected_at", "updated_at", "user"]
|
||||
form_excluded_columns = ["created_at", "updated_at", "user"]
|
||||
|
||||
column_searchable_list = [
|
||||
SocialAccount.user_id,
|
||||
SocialAccount.user_uuid,
|
||||
SocialAccount.platform,
|
||||
SocialAccount.platform_user_id,
|
||||
SocialAccount.platform_username,
|
||||
]
|
||||
|
||||
column_default_sort = (SocialAccount.connected_at, True)
|
||||
column_default_sort = (SocialAccount.created_at, True)
|
||||
|
||||
column_sortable_list = [
|
||||
SocialAccount.id,
|
||||
SocialAccount.user_id,
|
||||
SocialAccount.user_uuid,
|
||||
SocialAccount.platform,
|
||||
SocialAccount.is_active,
|
||||
SocialAccount.connected_at,
|
||||
SocialAccount.is_deleted,
|
||||
SocialAccount.created_at,
|
||||
]
|
||||
|
||||
column_labels = {
|
||||
"id": "ID",
|
||||
"user_id": "사용자 ID",
|
||||
"user_uuid": "사용자 UUID",
|
||||
"platform": "플랫폼",
|
||||
"platform_user_id": "플랫폼 사용자 ID",
|
||||
"platform_username": "플랫폼 사용자명",
|
||||
@@ -210,6 +213,7 @@ class SocialAccountAdmin(ModelView, model=SocialAccount):
|
||||
"scope": "권한 범위",
|
||||
"token_expires_at": "토큰 만료일시",
|
||||
"is_active": "활성화",
|
||||
"connected_at": "연동일시",
|
||||
"is_deleted": "삭제됨",
|
||||
"created_at": "생성일시",
|
||||
"updated_at": "수정일시",
|
||||
}
|
||||
Reference in new issue
Block a user