mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
Use update_fields more consistently when modifying model objects.
(imported from commit a3f0c308b621b5ff85c55654f187e25749192b19)
This commit is contained in:
@@ -36,7 +36,7 @@ def restore(change):
|
||||
continue
|
||||
if change:
|
||||
u.pointer = pointer
|
||||
u.save()
|
||||
u.save(update_fields=["pointer"])
|
||||
|
||||
class Command(BaseCommand):
|
||||
option_list = BaseCommand.option_list + (
|
||||
|
||||
Reference in New Issue
Block a user