Django, can't create app in subfolder Django, can't create app in subfolder django django

Django, can't create app in subfolder


Try this:

mkdir Apps\newapppython manage.py startapp NewApp Apps/newapp

And you will to create a app called "NewApp" inside folder "Apps/newapp".


Create your Apps directory from your project's root directory-

mkdir Apps

Move to your Apps directory-

cd Apps

Run python by calling the manage.py in your root project directory-

python ../manage.py startapp newapp

There you go


from the docs:

If the optional destination is provided, Django will use that existing directory rather than creating a new one. You can use '.' to denote the current working directory.
django-admin.py startapp myapp /Users/jezdez/Code/myapp

So try python manage.py startapp myApp ./Apps/myApp or with the full path.