bob
bob

Reputation: 11

Django Syncdb error

Running Django Syncdb tries to create two tables with the same name "auth_group" and it quits with the error at the bottom.

python manage.py syncdb 

Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
..
Creating table auth_group

Returns this error

_mysql_exceptions.OperationalError: (1050, "Table 'auth_group' already exists")

Upvotes: 1

Views: 804

Answers (1)

nagisa
nagisa

Reputation: 720

Maybe you have duplicate 'django.contrib.auth' in your INSTALLED_APPS?

Upvotes: 1

Related Questions