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

"BaseCommand.option_list" is deprecated #39

Closed
dongbohu opened this issue Feb 12, 2019 · 1 comment
Closed

"BaseCommand.option_list" is deprecated #39

dongbohu opened this issue Feb 12, 2019 · 1 comment

Comments

@dongbohu
Copy link
Contributor

dongbohu commented Feb 12, 2019

Since Django 1.8+, BaseCommand.option_list has been deprecated.
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/#django.core.management.BaseCommand.option_list

This affects the following management commands:

genesets/management/commands/genesets_update_tip_item_count_all.py
genesets/management/commands/genesets_load_kegg.py
genesets/management/commands/genesets_create_update_user.py
genesets/management/commands/genesets_load_disease.py
genesets/management/commands/genesets_add_geneset_tags.py
genesets/management/commands/genesets_load_go.py

Surprisingly, these management commands were only being used in this test file:
genesets/tests.py

@dongbohu
Copy link
Contributor Author

Fixed by #40.

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

1 participant