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. angular.js - 请教angularjs里html和js通信的问题2. angular.js - angularjs的问题:点击”选择图片“后,需要很长的时间才能选择图片3. angular.js - 用angular2-cli打包项目之后,跳转路由刷新会报404的错误4. angular.js - angular-ueditor使用中,插入图片,加载完成后不更新angularmodel的问题;5. node.js - 怎么在初始化的时候使得一个子组件不加载?6. angular.js - 有没有不需要先git clone xxxx的angular2的教程?7. angular.js - angular2 基础问题,求解答8. angular.js - ng-model如何绑定二选一的单选项框?9. angular.js - angularjs 如何用一组按钮完成单选10. javascript - jquery中的$.post()为什么不能跨域提交数据呢?