Create a New application in your Django Project

As we have seen in the creation on our project , we know that a project is a collection of applications. So now we will see how to create an application 

Type the command given below in your terminal to create an app :

$ python startapp appname


$ python startapp accounts

Once the app is created, the folders will look like this,


Register your app in your project.

Whenever we create a new app, do not forget to register the app in the You will find the inside the project folder.


Open the and add your application name in the INSTALLED_APPS list as shown below. 


    'accounts', //add your appname here and don't forget to add the comma(,) in the last to avoid errors.

Tags: Funda of web it Django tutorials, Django tutorials, Django tutorials funda, django for beginners, how to create a new application in django, create new app in django 

© Copyright - 2018 - 2023 | All rights reserved at Funda of Web IT