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

adding django2.0 compatibility. #9

Closed
wants to merge 1 commit into from
Closed

adding django2.0 compatibility. #9

wants to merge 1 commit into from

Conversation

gandhi23
Copy link

Changes have been made to openwisp-utils directory to add django2 compatibility. This is a part of my google code-in task: https://codein.withgoogle.com/dashboard/task-instances/5332094102274048/

@coveralls
Copy link

coveralls commented Dec 23, 2017

Coverage Status

Coverage remained the same at 94.845% when pulling 12c7e25 on gandhi23:django2 into d742d47 on openwisp:master.

@phyxkal
Copy link
Contributor

phyxkal commented Dec 23, 2017

maybe mentor will say this is wrong

Copy link
Contributor

@rohithasrk rohithasrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gandhi23 We'll need to make sure it is compatible with both django 2.0 and django 1.11. So we shouldn't remove the 1.11 check.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rohithasrk is right.
Plus I see too many unnecessary changes. I suggest to start from scratch and change the least possible lines.
Please use a better commit message as outlined in our guidelines:
http://openwisp.io/docs/developer/contributing.html#commit-and-push

@gandhi23 gandhi23 closed this Dec 25, 2017
@gandhi23
Copy link
Author

@rohithasrk for ur kind notice, django2 is not backward-compatible with previous django versions. So, it is impossible to add both. :)

@gandhi23 gandhi23 reopened this Dec 25, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.845% when pulling 12c7e25 on gandhi23:django2 into d742d47 on openwisp:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.845% when pulling 12c7e25 on gandhi23:django2 into d742d47 on openwisp:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.845% when pulling 12c7e25 on gandhi23:django2 into d742d47 on openwisp:master.

@gandhi23
Copy link
Author

@nemesisdesign only necessary change have been made. if not, please say the specific changes to be made in chat or here.

@rohithasrk
Copy link
Contributor

rohithasrk commented Dec 25, 2017

@gandhi23 It is only true for some of the changes. Not all of django2.0 is different from django1.11

@rohithasrk
Copy link
Contributor

Check out this https://github.com/netjson/django-netjsongraph

@gandhi23 gandhi23 closed this Dec 25, 2017
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.

5 participants