Django Framework

Akash Verma
2 min readMay 31, 2021

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Advantage of Django:-

Ridiculously fast:

Django was designed to help developers take applications from concept to completion as quickly as possible.

Reassuringly secure.

Django takes security seriously and helps developers avoid many common security mistakes.

Exceedingly scalable.

Some of the busiest sites on the Web leverage Django’s ability to quickly and flexibly scale.

Writing Your First Django Program:-

We assumed that Django is already installed on your PC now to check the version you can use the command

python -m django — version

Now to start the project you have to tell Django by giving a command

django-admin startproject myproject

So this will basically start your project which is myproject here ( you can give any name though).

In your project, you will get a manage.py file which is a command-line utility that lets you interact with this Django project in various ways.

So in order to start your server just write the command

python manage.py runserver

So after performing all these commands you will see your server is started on localhost.

That all for this article I will add the related command and methods which will be used in a Django project.

--

--