python – Fehler beim Starten von „Django' mit „Pycharm'.
習慣沉默
習慣沉默 2017-05-18 10:47:05
0
1
490

Verwende das pycharm跑建的Django Projekt und ich erhalte eine Fehlermeldung, nachdem ich meine eigene Webapp hinzugefügt habe

C:\Users\fc\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-01.4424.42\bin\runnerw.exe C:\Users\fc\untitled2\Scripts\python.exe C:/Users/fc/Documents/GitHub/Python/untitled/manage.py runserver 8000
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002BCF8C3C840>
Traceback (most recent call last):
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 227, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\fc\untitled2\lib\site-packages\django\core\management\commands\runserver.py", line 117, in inner_run
    autoreload.raise_last_exception()
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 250, in raise_last_exception
    six.reraise(*_exception)
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "C:\Users\fc\untitled2\lib\site-packages\django\utils\autoreload.py", line 227, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\fc\untitled2\lib\site-packages\django\__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Users\fc\untitled2\lib\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: Dj_learning_blog


Ich habe bei Google gesucht, aber keine Antwort gefunden.

習慣沉默
習慣沉默

Antworte allen(1)
洪涛

题主可以参考这个帖子How to resolve “django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: foo” in Django 1.7?

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!