简体   繁体   中英

When I enter startapp command in django, app did not be added in project

I'm making website using django by pycharm pro version.

A command "python manage.py startapp 'app name'" worked well before, but unexpectedly, the command does not work now.

when I enter the command in terminal, in terminal, there is nothing difference.

but app doesn't develop in the file,

so I retry the command,

    CommandError: 'app name' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.

commanderror raised...

what is the problem? I want to know the solution.

What name did you use with the "startapp"?

You have probably already created an app with that name, check your project folder

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM