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 :
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
Latest PostsHow to delete image from folder when deleting a record in django How to update new image in django How to fetch / retrieve images in django How to upload image in django Deploy Django App on Heroku for free Upload Files/Images in Django How to show success message in django Delete data from database in Django Update data into Databasee Fetch/Retrieve data from database in Django
© Copyright - 2018 - 2021 | All rights reserved at Funda of Web IT