python - 用`Pycharm`啟動(dòng)`Django`報(bào)錯(cuò)
問(wèn)題描述
用pycharm跑建的Django項(xiàng)目 ,吧我自己的webapp添加之后就會(huì)報(bào)錯(cuò)
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了也沒(méi)找到答案。
問(wèn)題解答
回答1:題主可以參考這個(gè)帖子How to resolve “django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: foo” in Django 1.7?
相關(guān)文章:
1. node.js - mongoDB使用$gte的問(wèn)題2. android - 優(yōu)酷的安卓及蘋(píng)果app還在使用flash技術(shù)嗎?3. android 微信是如何實(shí)現(xiàn)即時(shí)更新好友頭像的4. 黑客 - Python模塊安全權(quán)限5. android - 像支付寶到位這種點(diǎn)擊marker點(diǎn)擊變大怎么做的6. html5 - H5頁(yè)面喚起APP導(dǎo)航7. docker - 如何修改運(yùn)行中容器的配置8. angular.js - ngview配置路由失敗9. javascript - 關(guān)于vuejs讀取數(shù)據(jù)的問(wèn)題10. javascript - 可以左右滑動(dòng)的導(dǎo)航菜單怎么實(shí)現(xiàn)
