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

Added some basic compatibility with Django 2.x series #4

Closed
wants to merge 2 commits into from

Conversation

mauler
Copy link
Contributor

@mauler mauler commented Feb 7, 2018

The code isn't optimal, we needs tests and other stuff.

@vdboor
Copy link
Contributor

vdboor commented Feb 12, 2018

Hi! Thanks for providing this pull request! It doesn't seem to be compatible with another change in master, where the to field also handles string values (e.g. "auth.User"). Could you look into this?

The Django version check can also be done using if django.VERSION >= (2, 0) which might be a bit cleaner.

vdboor added a commit that referenced this pull request Feb 19, 2018
Inspired by PR #4
@vdboor
Copy link
Contributor

vdboor commented Feb 19, 2018

I've merged your changes manually in 6525fb0 and added the first test case. Thanks for reaching out!

@vdboor vdboor closed this Feb 19, 2018
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.

None yet

2 participants