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

Updated management commands for compatibility with Django 1.10 #244

Merged
merged 1 commit into from
Jun 26, 2017
Merged

Updated management commands for compatibility with Django 1.10 #244

merged 1 commit into from
Jun 26, 2017

Conversation

clintonb
Copy link
Collaborator

@clintonb clintonb commented Jun 9, 2017

The management commands are now compatible with Django 1.8+. This was achieved by replacing the usage of option_list with add_arguments(). Additionally, unit tests have been added for the commands.

Fixes #199

The management commands are now compatible with Django 1.8+. This was achieved by replacing the usage of option_list with add_arguments(). Additionally, unit tests have been added for the commands.

Fixes #199
@clintonb
Copy link
Collaborator Author

clintonb commented Jun 9, 2017

@jsocol @thallada please review

@tednology
Copy link

I was just thinking about writing a similar PR, thanks @clintonb!

@clintonb
Copy link
Collaborator Author

@jsocol @thallada please review

Copy link

@thallada thallada left a comment

Choose a reason for hiding this comment

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

It looks like this PR fixes the same issue as #236 does, but it has tests 🥇. I tested your branch out, and I'm now able to use the management commands in Django 1.11.

The only nitpicky thing I'll mention is that there's a few lines here over 80 chars long and that's inconsistent with the rest of the code base which seems to keep it under 80 chars.

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.

3 participants