0.12.23 timezone in chat messages

This commit is contained in:
SDE
2024-02-09 18:18:21 +03:00
parent b87df02714
commit a3ba6bc783
2 changed files with 5 additions and 2 deletions

View File

@@ -290,6 +290,9 @@ def get_chat_page_content_html(request, receiver_id=None):
from AuthApp.models import User
from django.utils import timezone
msg = f'now {timezone.now()}'
print(msg)
msgs = []
try:
cur_receiver = User.objects.get(id=receiver_id)