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

Add Django 1.8 support #160

Merged
merged 13 commits into from
Apr 13, 2015
Merged

Add Django 1.8 support #160

merged 13 commits into from
Apr 13, 2015

Conversation

macro1
Copy link
Collaborator

@macro1 macro1 commented Mar 20, 2015

There have been a couple pull requests, so I decided to make a pull request of what I have so far. As noted in #156 the internal API for related fields has changed and the rel and related field attributes have merged.

Initially I looked at maintaining what we currently have with CustomForeignKey, but I don't think it would be wise to continue supporting it in the future if there is any chance of removing it. The code bellow appears to work for 1.8, I haven't worked through making it backward compatible.

@rodxavier or @RossLote: If this helps you sort out one of your branches, please update or reopen your PR so we can add support once we find a fix.

Closes #157
Resolves #156

@macro1 macro1 changed the title Add Django 1.8 support [WIP] Add Django 1.8 support Mar 20, 2015
@macro1
Copy link
Collaborator Author

macro1 commented Mar 28, 2015

Oh. I just realized what could be causing the error. The model doesn't exist still the tests are started, so it wasn't part of the test db setup. I'm not sure why I can't reproduce it locally, but that makes sense I think.

@macro1 macro1 changed the title [WIP] Add Django 1.8 support Add Django 1.8 support Apr 3, 2015
macro1 added a commit that referenced this pull request Apr 13, 2015
@macro1 macro1 merged commit ba5c75d into master Apr 13, 2015
@KevinGrahamFoster
Copy link
Contributor

Awesome, thanks Micah!

@treyhunner treyhunner deleted the django18 branch April 14, 2015 18:08
@macro1
Copy link
Collaborator Author

macro1 commented Apr 14, 2015

This bring 1.8 comparability to master, there will be a release soon.

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

Successfully merging this pull request may close these issues.

Django 1.8: ImportError: No module named related
2 participants