You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal is
create the object with specific timezone in order to suppress the warning message when run testcases
I try follow shreevatsar commented on Aug 18, 2015. I know he uses Python2 #87
Software Versions:
python3.6.0
django==1.10.6
djangorestframework-jwt==1.9.0
djangorestframework==3.6.1
pyjwt==1.4.2 # via djangorestframework-jwt
pytest-django==3.1.2
pytest==3.1.2 # via pytest-django
apps/orders/tests.py::test_get_order
/Users/el/.pyenv/versions/3.6.0/envs/eneos-pos-web/lib/python3.6/site-packages/django/db/models/fields/__init__.py:1372: RuntimeWarning: DateTimeField Order.created_at received a naive datetime (2017-06-14 00:00:00) whiletime zone support is active.
RuntimeWarning)
The text was updated successfully, but these errors were encountered:
My goal is
create the object with specific timezone in order to suppress the warning message when run testcases
I try follow
shreevatsar commented on Aug 18, 2015
. I know he usesPython2
#87
Software Versions:
PyTest test case
PyTest result
It timezone does not solve warning
The text was updated successfully, but these errors were encountered: