feat(settings): Add page_layout
attribute to User Settings
ref: #647 #648
This commit is contained in:
@ -96,6 +96,27 @@ class UserSettings(UserSettingsCommonFields):
|
||||
verbose_name = 'Your Timezone',
|
||||
)
|
||||
|
||||
page_layout: list = [
|
||||
{
|
||||
"name": "Details",
|
||||
"slug": "details",
|
||||
"sections": [
|
||||
{
|
||||
"layout": "single",
|
||||
"fields": [
|
||||
'browser_mode',
|
||||
'default_organization',
|
||||
'timezone',
|
||||
],
|
||||
},
|
||||
{
|
||||
"layout": "table",
|
||||
"field": "tokens",
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
def get_organization(self):
|
||||
|
||||
|
Reference in New Issue
Block a user