Closed dengyuanzhong closed 11 years ago
+1 TypeError at / can't subtract offset-naive and offset-aware datetimes
Hey all,
Fixed by: https://github.com/bruth/django-tracking2/pull/12 waiting for pull request to be accepted.
Cheers,
Chris
Thanks @chrisfranklin Merged and released https://pypi.python.org/pypi/django-tracking2
When visit /dashboard/,
TypeError at /dashboard/ can't subtract offset-naive and offset-aware datetimes
Request Method: GET Request URL: http://mysite.com/dashboard/ Django Version: 1.4 Exception Type: TypeError Exception Value:
can't subtract offset-naive and offset-aware datetimes Exception Location: PROJECT_DIR/tracking/middleware.py in process_response, line 64 Python Executable: /usr/local/bin/python Python Version: 2.7.3 Python Path:
['', '/usr/local/sae/python/lib/python27.zip', '/usr/local/sae/python/lib/python2.7', '/usr/local/sae/python/lib/python2.7/plat-linux2', '/usr/local/sae/python/lib/python2.7/lib-tk', '/usr/local/sae/python/lib/python2.7/lib-old', '/usr/local/sae/python/lib/python2.7/lib-dynload', '/usr/local/sae/python/3rd/django1.4', '/usr/local/sae/python/lib/python2.7/site-packages']