Django Getting Started

In this tutorial we will see how to use django in our projects and mainly we will focus this towards REST API’s

Similar to our flask tutorial, all django tutorial series will be similar in nature and focus only towards rest api.

First why django?

Django is a full structured framework, in comparison to flask which is a very lightweight. Django has a proper structure, follows MVC structure and its much more suited for larger projects where we need to follow a certain code structure to build our projects.

Flask is very un-opinionated i.e no fixed structure in terms file naming, urls, database etc. It very easy to get up and running, should be used for smaller projects.

You can find many blogs online comparing the two, but above gives a general idea.

Now to start first install django. Find the official guide for the same
https://docs.djangoproject.com/en/2.2/intro/install/

Next once you have installed its because to go through the overview doc which django provides, they cover the basics of installation etc very well.

https://docs.djangoproject.com/en/2.2/intro

FYI, search for the latest version on django website. As on date, 2.2 is the latest version but it will change.

Only go through the sections of database, URLs, Apps in the tutorials. No need to go through views, forms etc and they will never based use. So part 1,2,3 are good enough to start with.

At this stage, focus on the part 1,2,3 and existing django documentation to get basic idea of how to run django.

excellence-social-linkdin
excellence-social-facebook
excellence-social-instagram
excellence-social-skype