I am on Windows and trying to create a new application inside a shared folder called Apps. The myApp folder already exists inside applications. I start from the root of the project:
python manage.py startapp myApp Apps\myApp
and I get:
Error: 'Apps\\myApp' is not a valid app name. Please use only numbers, letters and underscores.
I do not know why this double backslash. I also tried with a slash:
python manage.py startapp myApp Apps/myApp
and I get the following:
Error: 'myApp' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.
I can't figure out if this is a Windows or Python issue.
source share