Differences
This shows you the differences between two versions of the page.
linux:misc:change_zulip_users_email [2024/11/21 13:42] – created tplecko | linux:misc:change_zulip_users_email [2024/11/21 14:09] (current) – tplecko | ||
---|---|---|---|
Line 6: | Line 6: | ||
<code python> | <code python> | ||
from zerver.models import UserProfile | from zerver.models import UserProfile | ||
- | user = UserProfile.objects.get(email=" | + | user = UserProfile.objects.get(email=" |
- | user.email = " | + | user.email = " |
+ | user.delivery_email = " | ||
user.save() | user.save() | ||
</ | </ |