运行Django Syncdb尝试创建两个名称为“auth_group”的表,并退出底部的错误。
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
返回此错误
_mysql_exceptions.OperationalError: (1050, "Table 'auth_group' already exists")
答案 0 :(得分:1)
也许您的'django.contrib.auth'
中有INSTALLED_APPS
个重复?