Create a New Project in Django
In Django, every web application you make is called a project. The projects consists of different applications. An application is a group of files that works on the MVT structure.
Let's try to understand this with a real life example: When we create a new website, that website is our project here and the different features like news feed, posts, etc are applications in the project.
Creating a new Project in Django.
To create a new project in django, just open your terminal/CMD and navigate to the folder you want to create the project in.
$ django-admin startproject funda
A new folder with your projectname will be created in that directory as shown in the below example:
So now you have successfully created your django project. Now type the following command in the terminal to run/execute your project.
You will get a response in the terminal as shown below:
Latest PostsREST API using Django Rest Framework How to connect Django project with MySQL database How 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
© Copyright - 2018 - 2022 | All rights reserved at Funda of Web IT