Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conflict of app name in Django with old app name

I am sort of new to Django so I'm using the tutorial on the offical website here

So I created an environment, installed django 2.0.2 and any other packages I needed. Then I opened a terminal and created my polls app with python manage.py startapp polls. As I progressed, I decided I wanted to do some things differently and as I'd not really progressed very far, I just deleted my project files and started fresh.

However, on the second pass through when I tried creating my polls app, I get an error that "'polls' conflicts with the name of an existing Python module and cannot be used as an app name."

I have tried deleting the environment and creating a new one but that doesn't work. I tried starting a brand new project, that doesn't work either. There was no problem creating the app the first time so I'm guessing that it is still located somewhere. Is there a method for completely removing apps in django 2.0.2? All the resources I've seen are for earlier versions.

like image 290
boymeetscode Avatar asked Oct 20 '25 21:10

boymeetscode


1 Answers

May be it will help full for you:

enter image description here

like image 112
Mr Singh Avatar answered Oct 23 '25 10:10

Mr Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!