久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

python - 用`Pycharm`啟動`Django`報錯

瀏覽:136日期:2022-07-23 16:47:50

問題描述

用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

python - 用`Pycharm`啟動`Django`報錯Google了也沒找到答案。

問題解答

回答1:

題主可以參考這個帖子How to resolve “django.core.exceptions.ImproperlyConfigured: Application labels aren’t unique, duplicates: foo” in Django 1.7?

標簽: Python 編程
相關文章:
主站蜘蛛池模板: 朝阳县| 连平县| 淄博市| 托克逊县| 余姚市| 峨眉山市| 荆门市| 呼伦贝尔市| 蒲城县| 淅川县| 东台市| 米林县| 门头沟区| 云林县| 德阳市| 遵义县| 东明县| 高雄县| 隆林| 鄱阳县| 即墨市| 衡阳县| 旬阳县| 太仆寺旗| 师宗县| 兰西县| 双流县| 平邑县| 桐柏县| 仪征市| 元朗区| 安宁市| 马鞍山市| 万山特区| 河东区| 奉新县| 昔阳县| 遂平县| 治多县| 万源市| 周口市|