takahe/users/views/settings/posting.py
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00

18 lines
470 B
Python

from activities.models.post import Post
from users.views.settings.settings_page import SettingsPage
class PostingPage(SettingsPage):
section = "posting"
options = {
"default_post_visibility": {
"title": "Default Post Visibility",
"help_text": "Visibility to use as default for new posts.",
"choices": Post.Visibilities.choices,
},
}
layout = {
"Posting": ["default_post_visibility"],
}