[英]Created new project in django using virtualenv and its running fine but when I trying to create new app using 'startapp' and again running project
[英]When I enter startapp command in django, app did not be added in project
我正在使用 django by pycharm 专业版制作网站。
一条命令“python manage.py startapp 'app name'”之前很好用,没想到现在不行了。
当我在终端中输入命令时,在终端中没有任何区别。
但是应用程序没有在文件中开发,
所以我重试命令,
CommandError: 'app name' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.
出现命令错误...
问题是什么? 我想知道解决方案。
您对“startapp”使用了什么名称?
您可能已经创建了一个具有该名称的应用程序,请检查您的项目文件夹
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.