tn_gram_backend
is the main Django project folder.
I created a new folder staging
and inside that I am trying to create another Django app called ddc
but it is throwing me the following error as show in the below image. Please suggest how to fix this.
'ddc' conflicts with the name of an existing python module and cannot be used as an app name
I think it's because in your tn_gram_backend
folder you already have an app called ddc
. And since you're trying to create a new app with the same name you get the collision. (Even when it's a subfolder). If you name it ddc_stagning
it should work. Having the same name on modules can cause issues with imports.