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

AttributeError: 'Command' object has no attribute 'option_list' #107

Closed
sayeed-anjum opened this issue Oct 25, 2016 · 1 comment
Closed
Assignees
Labels

Comments

@sayeed-anjum
Copy link

I am using release 1.1.9 with Django 1.10.2.

When I run the management command create_tenant_superuser, I get the following error:

AttributeError: 'Command' object has no attribute 'option_list'

The stack trace is as follows:

Traceback (most recent call last):
  File ".\manage.py", line 22, in <module> execute_from_command_line(sys.argv)
  File "~\.virtualenvs\test\lib\site-packages\django\core\management\__init__.py", line 367, in execute_from_command_line utility.execute()
  File "~\.virtualenvs\test\lib\site-packages\django\core\management\__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv)
  File "~\.virtualenvs\test\lib\site-packages\django\core\management\__init__.py", line 208, in fetch_command klass = load_command_class(app_name, subcommand)
  File "~\.virtualenvs\test\lib\site-packages\django\core\management\__init__.py", line 41, in load_command_class     return module.Command()
  File "~\.virtualenvs\test\lib\site-packages\django_tenants\management\commands\__init__.py", line 116,
    in __new__
    obj.option_list = obj.command_instance.option_list
AttributeError: 'Command' object has no attribute 'option_list'
@tomturner tomturner self-assigned this Dec 4, 2016
@tomturner
Copy link
Member

I get the same error I will fix it shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants