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. 數(shù)組按鍵值封裝!2. docker不顯示端口映射呢?3. java - 阿里的開發(fā)手冊中為什么禁用map來作為查詢的接受類?4. Docker for Mac 創(chuàng)建的dnsmasq容器連不上/不工作的問題5. python - flask _sqlalchemy 能否用中文作為索引條件6. python3.x - git bash如何運行.bat文件?7. 跟蹤器怎么開啟無反應8. 主題切換問題,用過別人的webapp在后臺切換模板主題后手機端打開網(wǎng)頁就是切換到的主題了9. clone - git sourceTree克隆倉庫時,都不停彈出Password Required彈窗,即時輸入正確的git賬號密碼還是彈出10. html5 - 使用echarts中的圖表 一個頁面導入了好幾個js圖表 實現(xiàn)echarts圖表隨著瀏覽器窗口變化而變化時出現(xiàn)了問題
