Django Part-1

ยท

2 min read

What is Django?

  • Django is a Python Web Framework.

  • As you will dive deep, you will get to know that Django not only allows you create good web applications but it also takes care of security of your application, for example:

-->Cross-site request forgery (When it comes to submitting a user input form, for example)

-->SQL injection (Django has a built in admin interface and default database)

-->Cross-site scripting

-->Clickjacking

Pre-requisites and installation

To follow along with this tutorial, I assume you have working idea of Python, HTML, CSS and little bit knowledge of Bootstrap.

If you do not have python installed, download and install it by following: Python official documentation

Then install Django using the below command:

pip install django

Also install virtual environment, using the following command:

pip install virtualenv

What are we going to build?

We are going to build a social media website!! YES, your own social media website. Like any social media website, it will have features like:

  • Secure login/ logout
  • Feature to reset password
  • Profile page to post
  • Option to follow and unfollow a person
  • Like/ Unlike and comment on any post

And many more features, excited? ๐Ÿ’ƒ ๐Ÿ’ƒ Because I am! Although, considering the features we are going to add, this series can be quite long. But I know we will do it!

th.jpg

ย