0.12.23 timezone in chat messages
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user