Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
populate_db: Fix naive datetime RuntimeWarning.
Anders Kaseorg729f70142f4b
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 7f8f9e6d436..b181963c139 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -478,14 +478,14 @@ class Command(BaseCommand):recipient=None,topic="Release Notes",content="Release 4.0 will contain ...",- last_edit_time=datetime.now(),+ last_edit_time=timezone_now(),)Draft.objects.create(user_profile=iago,recipient=None,topic="Release Notes",content="Release 4.0 will contain many new features such as ... ",- last_edit_time=datetime.now(),+ last_edit_time=timezone_now(),)desdemona = get_user_by_delivery_email("[email protected]", zulip_realm)