Django 1.10.3应用程序标签不是唯一的,重复的:站点?

时间:2016-11-21 19:31:08

标签: python django

Django 1.10.3给了我这个错误,但是django 1.6.11给了我以下错误?

==>sh my.sh init index run
    *** Initializing server on www.my_app.me:8080 with my.settings.base
    *** Running all tests
    Traceback (most recent call last):
      File "manage.py", line 9, in <module>
        execute_from_command_line(sys.argv)
      File "//anaconda/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
        utility.execute()
      File "//anaconda/lib/python2.7/site-packages/django/core/management/__init__.py", line 341, in execute
        django.setup()
      File "//anaconda/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
        apps.populate(settings.INSTALLED_APPS)
      File "//anaconda/lib/python2.7/site-packages/django/apps/registry.py", line 89, in populate
        "duplicates: %s" % app_config.label)
    django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: sites

Duplicate question

请建议我如何解决这个问题?在此先感谢!!

0 个答案:

没有答案