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

ImportError: cannot import name create_superuser Django 1.7 #13

Closed
arescope opened this issue Sep 17, 2014 · 1 comment
Closed

ImportError: cannot import name create_superuser Django 1.7 #13

arescope opened this issue Sep 17, 2014 · 1 comment

Comments

@arescope
Copy link

Hi,

Executing python manage.py createtenant

I got the following error:

Traceback (most recent call last):
 ....
  File "/lib/python2.7/site-packages/tenancy/management/commands/createtenant.py", line 37, in handle
    tenant_model = get_tenant_model()
  File "/lib/python2.7/site-packages/tenancy/__init__.py", line 11, in get_tenant_model
    from .settings import TENANT_MODEL
  File "/lib/python2.7/site-packages/tenancy/settings.py", line 4, in <module>
    from django.contrib.auth.management import create_superuser
ImportError: cannot import name create_superuser
@charettes
Copy link
Owner

Duplicate of #14.

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

2 participants