Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request.REQUEST and Django 1.9 #82

Open
aliev opened this issue Dec 27, 2015 · 4 comments
Open

request.REQUEST and Django 1.9 #82

aliev opened this issue Dec 27, 2015 · 4 comments

Comments

@aliev
Copy link

aliev commented Dec 27, 2015

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

@ghost
Copy link

ghost commented Feb 2, 2016

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

@amitu
Copy link
Owner

amitu commented Feb 2, 2016

Agreed. Pull request in fhurl welcome :-P.

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

@ghost
Copy link

ghost commented Feb 2, 2016

What about decoupling fhurl from importD ❔

@amitu
Copy link
Owner

amitu commented Feb 2, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants