Management commands fail on Django 1.10
See original GitHub issueManagement commands fail due to incompatible argument parsers.
Django 1.10 dropped support for optparse
in management commands (deprecated since 1.8) in favor of argparse
.
Celery is using optparse
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:25
- Comments:11 (1 by maintainers)
Top Results From Across the Web
django-admin and manage.py
django -admin is Django's command-line utility for administrative tasks. This document outlines all it can do. In addition, manage.py is automatically created in ......
Read more >django-admin and manage.py — Django 1.10.1a1 documentation
django -admin is Django's command-line utility for administrative tasks. ... Makes makemigrations exit with error code 1 when no migrations are created (or ......
Read more >django-admin.py doesn't find management commands but ...
I am able to import my management commands as a python module and run them from the django-admin.py shell. I'm working in a...
Read more >Source code for django.core.management.base
``django-admin`` or ``manage.py`` loads the command class and calls ... ERROR. [docs] def get_version(self): """ Return the Django version ...
Read more >17 of 40 - Custom Django Management Commands - YouTube
Subscribe to our channel: http://kirr.co/7l2sv4/** Try Django 1.10 ** is an introduction to Django version 1.10 by creating a simple, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had lots of problems with django 1.10.
pip install django==1.9.2
fixed all my celery django problems.With
django-celery==3.2.1
this issue was fixed and you can close this issue.