mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
models: Fix comment above INVITE_AS dict.
The comment mentioned the values in this dict to be consistent
wth values in settings_config.invited_as_values.
But settings_config.invited_as_values was replaced by
settings_config.user_role_values in 136c005f3f, so
updated the comment accordingly.
This commit is contained in:
@@ -1707,9 +1707,8 @@ class PreregistrationUser(models.Model):
|
||||
# objects created as part of realm creation.
|
||||
realm: Optional[Realm] = models.ForeignKey(Realm, null=True, on_delete=CASCADE)
|
||||
|
||||
# Changes to INVITED_AS should also be reflected in
|
||||
# settings_invites.invited_as_values in
|
||||
# static/js/settings_invites.js
|
||||
# These values should be consistent with the values
|
||||
# in settings_config.user_role_values.
|
||||
INVITE_AS = dict(
|
||||
REALM_OWNER=100,
|
||||
REALM_ADMIN=200,
|
||||
|
||||
Reference in New Issue
Block a user