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 :
Example:
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 settings.py. You will find the settings.py inside the project folder.
Open the settings.py and add your application name in the INSTALLED_APPS list as shown below.
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