diff options
author | Andrew Godwin | 2022-11-19 10:20:13 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-19 10:20:13 -0700 |
commit | 2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce (patch) | |
tree | daac448f073c16a3e48157f2897ee6eff2a4d4d7 /users | |
parent | 80193114909a3f6ca1eda9a47b6330ef249a8ee5 (diff) | |
download | takahe-2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce.tar.gz takahe-2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce.tar.bz2 takahe-2142677b015507bc1aeb6179c5dfc4dfa3aaf0ce.zip |
A few more tweaks for an initial deploy
Diffstat (limited to 'users')
-rw-r--r-- | users/views/admin/settings.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/users/views/admin/settings.py b/users/views/admin/settings.py index a528f93..e11aba5 100644 --- a/users/views/admin/settings.py +++ b/users/views/admin/settings.py @@ -39,7 +39,7 @@ class BasicSettings(AdminSettingsPage): }, "site_about": { "title": "About This Site", - "help_text": "Displayed on the homepage and the about page", + "help_text": "Displayed on the homepage and the about page.\nNewlines are preserved; HTML also allowed.", "display": "textarea", }, "site_icon": { @@ -67,6 +67,11 @@ class BasicSettings(AdminSettingsPage): "help_text": "Shown above the signup form", "display": "textarea", }, + "restricted_usernames": { + "title": "Restricted Usernames", + "help_text": "Usernames that only admins can register for identities. One per line.", + "display": "textarea", + }, } layout = { @@ -79,5 +84,5 @@ class BasicSettings(AdminSettingsPage): ], "Signups": ["signup_allowed", "signup_invite_only", "signup_text"], "Posts": ["post_length"], - "Identities": ["identity_max_per_user"], + "Identities": ["identity_max_per_user", "restricted_usernames"], } |