def test(): user = User() user.time = datetime.datetime.now() user.save() print("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")