79079985

Date: 2024-10-12 00:28:55
Score: 0.5
Natty:
Report link

Django DB stores datetime including timezone information.

Problems resulting from this are expected. Instead of datetime, try using Django's built-in timezone.

It looks like your model and view need to be modified.

from django.utils import timezone

now = timzone.now()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com