python - 用`Pycharm`啟動`Django`報錯
問題描述
用pycharm跑建的Django項目 ,吧我自己的webapp添加之后就會報錯
C:UsersfcAppDataLocalJetBrainsToolboxappsPyCharm-Pch-0171.4424.42binrunnerw.exe C:Usersfcuntitled2Scriptspython.exe C:/Users/fc/Documents/GitHub/Python/untitled/manage.py runserver 8000Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002BCF8C3C840>Traceback (most recent call last): File 'C:Usersfcuntitled2libsite-packagesdjangoutilsautoreload.py', line 227, in wrapper fn(*args, **kwargs) File 'C:Usersfcuntitled2libsite-packagesdjangocoremanagementcommandsrunserver.py', line 117, in inner_run autoreload.raise_last_exception() File 'C:Usersfcuntitled2libsite-packagesdjangoutilsautoreload.py', line 250, in raise_last_exception six.reraise(*_exception) File 'C:Usersfcuntitled2libsite-packagesdjangoutilssix.py', line 685, in reraise raise value.with_traceback(tb) File 'C:Usersfcuntitled2libsite-packagesdjangoutilsautoreload.py', line 227, in wrapper fn(*args, **kwargs) File 'C:Usersfcuntitled2libsite-packagesdjango__init__.py', line 27, in setup apps.populate(settings.INSTALLED_APPS) File 'C:Usersfcuntitled2libsite-packagesdjangoappsregistry.py', line 89, in populate 'duplicates: %s' % app_config.label)django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: Dj_learning_blog
Google了也沒找到答案。
問題解答
回答1:題主可以參考這個帖子How to resolve “django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: foo” in Django 1.7?
相關文章:
1. boot2docker無法啟動2. docker-compose中volumes的問題3. 關docker hub上有些鏡像的tag被標記““This image has vulnerabilities””4. docker容器呢SSH為什么連不通呢?5. java - SSH框架中寫分頁時service層中不能注入分頁類6. dockerfile - 為什么docker容器啟動不了?7. 關于docker下的nginx壓力測試8. node.js - antdesign怎么集合react-redux對input控件進行初始化賦值9. docker安裝后出現Cannot connect to the Docker daemon.10. nignx - docker內nginx 80端口被占用

網公網安備