-
Notifications
You must be signed in to change notification settings - Fork 259
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
Upgrading to Django 1.7 gives 500 internal server error when requesting access token #96
Comments
+1 same error, please fix it |
This issue is already discussed in #77 . |
@stefan-wegener probably, but its not yet merged in master if am not mistaken. i have made a switch to |
thanks @stefan-wegener now it works for me ;) |
@psychok7 You are right, its currently not merged into master. There is already a pull request for this #97 . The question there is, if it is backwars compatible. As I am also new to python, I can not answer this question. So we have to wait for someone more experienced who can confirm, if this request is backwars-compatible or suggest another solution. |
Yeah i understand that and that's the thing with open source, you cant really blame ppl since no one is getting paid. but unfortunately i need to propose "stable" solutions in my company and i have deadlines and this 500 error made me loose an afternoon already and the first reply to this thread was 1 week after it was opened :( . i would probably use that patch if i knew it also solved this problem (i had already seen it) |
I haven't received any feedback, and haven't had time to go back myself and see how far back this breaks things—however it looks like "mimetype" was deprecated a while back. AFAICT if you're using 1.7 only, then forking and applying the patch should do the trick; I reference my own fork in my requirements.txt rather than this repo: -e [email protected]:jrmiddle/django-oauth2-provider.git#egg=django-oauth2-provider It probably works with 1.6, but I haven't tested it. I don't know what additional changes (if any) the author is planning for 1.7, but as the patch as it stands is tiny, the risk should be low. |
There's a PR open that fixes this (#78). |
There's actually another PR that also fixes tests for 1.7 that I'll lobby to get merged; it's #93. |
Happy 2015. Just checking on the status of the official fix for this—any thoughts? |
I switched to django-oauth-toolkit and found it a fairly painless transition. :) |
Ah, thanks @beaugunderson — will check it out! |
When using Django 1.6 everything seems to work fine, if i request an access token i get it:
The problem is when i upgrade to Django 1.7 where i only get a
500 internal server error
but it still creates the access token in the database. Can you confirm this bug and provide a fix?The text was updated successfully, but these errors were encountered: