Home    /    Answers    /    Django
How to create a new app in Django project

If you want to create a new app inside your existing Django project you are at the right place.

NOTE 👉 First you should have an existing project in which you want to create an app if you don't have any project please follow here.

Table of Contents

Below is the current structure of the Django project.

|── MyLedger
   ├── __init__.py
   ├── asgi.py
   ├── settings.py
   ├── urls.py
   └── wsgi.py
|── manage.py

Now run this command to create a new app

Command to create a Django app

python manage.py startapp <app name>

After running the given command your project structure will be like 👇

|── MyLedger
   ├── __init__.py
   ├── asgi.py
   ├── settings.py
   ├── urls.py
   └── wsgi.py
|── manage.py
|── appName
    ├── __init__.py
    ├── admin.py
    ├── apps.py
    ├── migrations
       └── __init__.py
    ├── models.py
    ├── tests.py
    └── views.py

You can compare both of them to get a better understanding.