importd icon indicating copy to clipboard operation
importd copied to clipboard

request.REQUEST and Django 1.9

Open aliev opened this issue 10 years ago • 4 comments

Error output

AttributeError at /fhurl/
'WSGIRequest' object has no attribute 'REQUEST'
Request Method: GET
Request URL:    http://127.0.0.1:8000/fhurl/
Django Version: 1.9
Exception Type: AttributeError
Exception Value:    
'WSGIRequest' object has no attribute 'REQUEST'
The WSGIRequest.REQUEST property is removed.

https://github.com/amitu/fhurl/blob/master/fhurl.py#L118

Django release notes https://docs.djangoproject.com/en/1.9/releases/1.9/#features-removed-in-1-9

aliev avatar Dec 27 '15 16:12 aliev

This is more of a fhurl bug, than ImportD bug...

ghost avatar Feb 02 '16 06:02 ghost

Agreed. Pull request in fhurl welcome :-P.

I do not have time to work on this project right now for a few months.

amitu avatar Feb 02 '16 09:02 amitu

What about decoupling fhurl from importD :grey_question:

ghost avatar Feb 02 '16 09:02 ghost

I guess we can do it. fhurl is easy enough as it is. I think it was only used in @d() decorator on class objects.

amitu avatar Feb 02 '16 10:02 amitu