django-statsy icon indicating copy to clipboard operation
django-statsy copied to clipboard

Cannot make it work. Python 3.5 Django 1.11 'function' object has no attribute 'status_code'

Open ysharoiko opened this issue 6 years ago • 1 comments

Added @statsy

in my views.py import statsy # By the way you did not mention about importing it in views in README

@statsy.watch def filetree(request) ...

In urls.py got url(r'^$', main.views.filetree, name=")

And have an error

Request Method: GET
http://localhost:8000/
1.11.1
AttributeError
'function' object has no attribute 'status_code'
/home/user/Env/dj_test/lib/python3.5/site-packages/django/middleware/common.py in process_response, line 115
/home/user/Env/dj_test3/bin/python
3.5.2

 

ysharoiko avatar May 17 '18 21:05 ysharoiko

Same problem here, any clue yet?

jacopsd avatar Jul 11 '18 08:07 jacopsd