Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zilencer: Switch to the more canonical import form of timezone_now().
Alex Vandiverc22a1b7b8852
diff --git a/zilencer/views.py b/zilencer/views.pyindex 18229b8ff73..80c5c4c76ce 100644--- a/zilencer/views.py+++ b/zilencer/views.py@@ -10,8 +10,8 @@ from django.core.validators import URLValidator, validate_emailfrom django.db import IntegrityError, transactionfrom django.db.models import Modelfrom django.http import HttpRequest, HttpResponse-from django.utils import timezonefrom django.utils.crypto import constant_time_compare+from django.utils.timezone import now as timezone_nowfrom django.utils.translation import gettext as _from django.utils.translation import gettext as err_from django.views.decorators.csrf import csrf_exempt@@ -179,7 +179,7 @@ def register_remote_push_device(token=token,ios_app_id=ios_app_id,# last_updated is to be renamed to date_created.- last_updated=timezone.now(),+ last_updated=timezone_now(),**kwargs,)except IntegrityError: