T30+T31: add dapp is_new_version bool field, default false (V21, §I.getDapps)
This commit is contained in:
1 parent
01ee7ec733
commit
7ae6b8f4f8
5 files changed
+15
-1
No files matched your search
@@ -181,6 +181,7 @@ class DappForm(Form):
|
||||
choices=[("", "—"), ("true", "Yes"), ("false", "No")],
|
||||
default="",
|
||||
)
|
||||
is_new_version = BooleanField("New Version")
|
||||
|
||||
|
||||
class DappAdmin(ModelView, model=Dapp):
|
||||
@@ -195,6 +196,7 @@ class DappAdmin(ModelView, model=Dapp):
|
||||
"counter",
|
||||
"category_id",
|
||||
"is_available_indonesia",
|
||||
"is_new_version",
|
||||
]
|
||||
column_labels = {
|
||||
"is_live": "Live",
|
||||
@@ -211,6 +213,7 @@ class DappAdmin(ModelView, model=Dapp):
|
||||
"counter",
|
||||
"category_id",
|
||||
"is_available_indonesia",
|
||||
"is_new_version",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user