question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version of the lib in pypi still doesn't support Django 2.0

See original GitHub issue

Hi

I was having a problem with unable to invoke my APIs a while ago. Chrome tells me

my site has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

However, another service of mine doesn’t have any problem. I figured out that because the problematic service was using Django 2.0 while another one was using 1.11.x.

So I downgraded it, and everything works fine now. Hence, it’s written in README that the lib was tested with Django 2.0 already so people would think it now supports Django 2.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adamchainzcommented, Jan 8, 2018

Hi, the unit tests are 100% passing on Django 2.0 so there must be something more to your error report. If you can dig further and find what the problem is, that would be great - I don’t have much time to maintain this library.

0reactions
ghostcommented, Feb 22, 2018

Hum, I will try if I have the time but that will take a long time and I have a workaround for now (I use uwsgi instead of runserver). runserver is the only affected component, other server process work fine. If I have the time, I will “bisect” around the introduction of HTTP 1.1 in runserver, it is the main new functionality of runserver.

Le jeu. 22 févr. 2018 à 14:28, Adam Johnson notifications@github.com a écrit :

If you can reproduce it reliably enough, you could try using git bisect to find the exact commit in django where the problem occurs. The Django docs have a guide: https://docs.djangoproject.com/en/dev/internals/contributing/triaging-tickets/#bisecting-a-regression

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ottoyiu/django-cors-headers/issues/281#issuecomment-367680478, or mute the thread https://github.com/notifications/unsubscribe-auth/Agcu09uLBdAqnpv0GeKlGNksm4kaStMoks5tXWuGgaJpZM4RWpW6 .

Christophe Gabard

Lead Developer

06.19.14.48.15

christophe.gabard@papernest.com

[image: logo-papernest] http://www.papernest.com/?source=signature_email

Read more comments on GitHub >

github_iconTop Results From Across the Web

django-storages - PyPI
This library is usually compatible with the currently supported versions of Django. Check the Trove classifiers in setup.py to be sure.
Read more >
'pip install' fails for every package ("Could not find a version ...
Apparently pip is trying to access PyPI via HTTPS (which is encrypted and fine), but with an old (insecure) SSL version. Your system...
Read more >
How to Publish an Open-Source Python Package to PyPI
The first packaging support came in the fall of 2000, with the distutils library being included in Python 1.6 and 2.0.
Read more >
Django 4.0 release notes
The Django 3.2.x series is the last to support Python 3.6 and 3.7. What's new in Django 4.0 ...
Read more >
Let's talk about packages - James Bennett
As I'm writing this, that's the latest 1.11 release of Django, and it's one that ... while a service like PyPI doesn't and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found