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

Django 1.9: cannot import name 'same_origin' #22

Closed
shacker opened this issue Oct 23, 2015 · 4 comments
Closed

Django 1.9: cannot import name 'same_origin' #22

shacker opened this issue Oct 23, 2015 · 4 comments

Comments

@shacker
Copy link

shacker commented Oct 23, 2015

When running under Django 1.9 beta:

  File "/path/to/...lib/python3.5/site-packages/mama_cas/models.py", line 14, in <module>
    from django.utils.http import same_origin
ImportError: cannot import name 'same_origin'

Thanks.

@jbittel
Copy link
Owner

jbittel commented Oct 23, 2015

Ah, okay. I hadn't started testing under Django 1.9 yet but it doesn't look like this will be too hard to fix. Thanks for the reminder!

@jbittel
Copy link
Owner

jbittel commented Oct 23, 2015

Note that tests are still slightly broken under Django 1.9 because of the "url from future" import required by Django 1.4 in the warn template.

Thanks!

@james-gonzalez
Copy link

Problem is still there. I'm using Django 1.9, installed using pip

ImportError: cannot import name same_origin

@jbittel
Copy link
Owner

jbittel commented Dec 4, 2015

This is fixed in 93b74f9, but is not yet pushed to PyPI. It will be included in the next release.

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

3 participants