Create first Django project

 

create-first-django-project

Create first Django project

Creating your first Django project literally includes several steps to start it. In this article we are going to learn everything there can for creating for Django project. By the way if someone doesn't know that what literally Django is, let me inform you that Django is web based backend framework for creating almost every time of web application. Here you can follow these steps to create your first Django project.

Setup Environment

First, make sure you have Python installed on your computer. Then you are able to use Django because Django framework is Python based, Just you need to install Python before you install Django. You can simply install Django using pip (Python package manager). Pip is used as a package manager that manages all the packages, libraries and modules in Python programming language. Read following blogs if you are having problem while installing Django.




pip install django


When your Django installation is complete, now you need to start create your project. 

Create a Django Project

Literally a Django project is a collection of configurations, code, and files that work together to create a web application using the Django web framework. in layman terms, a Django project serves as the container for your web application and provides the overall structure and settings necessary to run your application. Creating Django project is easy, just open a terminal and navigate to the directory where you want to create your project. just use the following command to create a new Django project:

django-admin startproject projectname




Previous Post Next Post