(python-django) zhouyi@aliyun:~/myproject/clip$ python manage.py celery worker -l info Traceback (most recent call last): File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 208, in fetch_command klass = load_command_class(app_name, subcommand) File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 40, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/djcelery/management/commands/celery.py", line 6, in <module> from djcelery.management.base import CeleryCommand File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/djcelery/management/base.py", line 59, in <module> classCeleryCommand(BaseCommand): File "/home/zhouyi/python-django/local/lib/python2.7/site-packages/djcelery/management/base.py", line 60, in CeleryCommand options = BaseCommand.option_list AttributeError: typeobject 'BaseCommand' has no attribute 'option_list'
``option_list`` This is the list of ``optparse`` options which will be fed into the command's ``OptionParser`` for parsing arguments. Deprecated and will be removed in Django 1.10. Use ``add_arguments`` instead.