type object 'datetime.timezone' has no attribute 'now'

前端 未结 0 333
粉色の甜心
粉色の甜心 2021-01-14 08:02

This line of code is receiving an AttributeError: now = timezone.now()

I can\'t figure out why. I am correctly importing the package as follows: fr

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