question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Management commands fail on Django 1.10

See original GitHub issue

Management 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:closed
  • Created 7 years ago
  • Reactions:25
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
siredwincommented, Oct 18, 2016

Had lots of problems with django 1.10. pip install django==1.9.2 fixed all my celery django problems.

3reactions
davidhaltercommented, Apr 26, 2017

With django-celery==3.2.1 this issue was fixed and you can close this issue.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found