Python: Django comparing timezone.now() with DateTimeField Object

后端 未结 0 848
一个人的身影
一个人的身影 2020-11-22 07:11

I\'m trying to validate if the date isn\'t earlier than the current time. So I\'ve read somewhere in the forums that I should use timezone.now() instead of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题